feat: 支持字段最大长度设置
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user