feat: 支持字段最大长度设置

This commit is contained in:
ray committed 2024-07-31 07:47:20 +08:00
1 parent 56ab702568
commit 433cb6133f
3 files changed
+11 -4

No files matched your search

@@ -40,7 +40,7 @@ public class GenFieldConfig extends BaseEntity {
/**
* 字段长度
*/
private String columnLength;
private Integer maxLength;
/**
* 字段名称
@@ -75,6 +75,9 @@ public class GenConfigForm {
@Schema(description = "是否必填")
private Integer isRequired;
@Schema(description = "最大长度")
private Integer maxLength;
@Schema(description = "表单类型")
private FormTypeEnum formType;