瀏覽代碼

新增表单模板类型

hubin 1 年之前
父節點
當前提交
c8e7de4cf0
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/main/java/com/aizuda/boot/modules/flw/entity/FlwFormTemplate.java

+ 6 - 2
src/main/java/com/aizuda/boot/modules/flw/entity/FlwFormTemplate.java

@@ -37,6 +37,10 @@ public class FlwFormTemplate extends BaseEntity {
 	@Size(max = 100)
 	private String code;
 
+	@Schema(description = "类型 0,PC 1,APP")
+	@PositiveOrZero
+	private Integer type;
+
 	@Schema(description = "内容")
 	@NotBlank(groups = Create.class)
 	@Size(max = 2147483647)
@@ -45,11 +49,11 @@ public class FlwFormTemplate extends BaseEntity {
 	@Schema(description = "状态 0、禁用 1、正常")
 	@NotNull(groups = Create.class)
 	@PositiveOrZero
-	private Short status;
+	private Integer status;
 
 	@Schema(description = "排序")
 	@NotNull(groups = Create.class)
 	@PositiveOrZero
-	private Short sort;
+	private Integer sort;
 
 }