| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- package com.izouma.awesomeAdmin.dto.gen;
- import com.fasterxml.jackson.annotation.JsonAutoDetect;
- import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
- import com.fasterxml.jackson.annotation.JsonInclude;
- import lombok.Data;
- @Data
- @JsonAutoDetect
- @JsonInclude(JsonInclude.Include.NON_NULL)
- @JsonIgnoreProperties(ignoreUnknown = true)
- public class TableField {
- /**
- * id
- */
- private Integer id;
- /**
- * 字段名
- */
- private String name;
- /**
- * 驼峰式名字
- */
- private String modelName;
- /**
- * 备注
- */
- private String remark;
- /**
- * 数据类型(数据库)
- */
- private String jdbcType;
- /**
- * java类型
- */
- private String javaType;
- /**
- * 长度
- */
- private Integer length;
- /**
- * 小数长度
- */
- private Integer decimalPlaces;
- /**
- * 默认值
- */
- private String defaultValue;
- /**
- * 非空
- */
- private Boolean notNull;
- /**
- * 主键
- */
- private Boolean primaryKey;
- /**
- * 自增
- */
- private Boolean autoIncrease;
- /**
- * 在列表中显示
- */
- private Boolean showInList;
- /**
- * 在表单中显示
- */
- private Boolean showInForm;
- /**
- * 可以排序
- */
- private Boolean sortable;
- /**
- * 表单类型
- */
- private String formType;
- /**
- * 搜索方式
- */
- private String searchMethod;
- /**
- * 表单必填
- */
- private Boolean required;
- /**
- * 表单验证
- */
- private Boolean validate;
- /**
- * 最短长度
- */
- private Integer minLength;
- /**
- * 最大长度
- */
- private Integer maxLength;
- /**
- * 最小值
- */
- private String min;
- /**
- * 最大值
- */
- private String max;
- /**
- * 验证类型
- */
- private String validatorType;
- /**
- * xml里jdbcType
- */
- private String sqlType;
- /**
- * 下拉框类型 1 枚举, 2 接口, 3 读表
- */
- private String apiFlag;
- /**
- * 接口方法/表名
- */
- private String optionsMethod;
- /**
- * 选项值,在枚举是用该值解析
- */
- private String optionsValue;
- /**
- * 显示值
- */
- private String optionsLabel;
- }
|