Prechádzať zdrojové kódy

新增表单模板类型

hubin 1 rok pred
rodič
commit
c8e7de4cf0

+ 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;
 
 }