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

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

View File

@@ -40,7 +40,7 @@ public class GenFieldConfig extends BaseEntity {
/**
* 字段长度
*/
private String columnLength;
private Integer maxLength;
/**
* 字段名称

View File

@@ -75,6 +75,9 @@ public class GenConfigForm {
@Schema(description = "是否必填")
private Integer isRequired;
@Schema(description = "最大长度")
private Integer maxLength;
@Schema(description = "表单类型")
private FormTypeEnum formType;