| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- package com.izouma.awesomeadmin.model;
- import com.fasterxml.jackson.annotation.JsonAutoDetect;
- import com.fasterxml.jackson.annotation.JsonInclude;
- /**
- * table_field 实体类
- * Fri May 04 13:38:24 CST 2018 Suo Chen Cheng
- */
- @JsonAutoDetect
- @JsonInclude(JsonInclude.Include.NON_NULL)
- 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 searchable;
- /**
- * 表单类型
- */
- 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;
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getId() {
- return id;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getName() {
- return name;
- }
- public void setRemark(String remark) {
- this.remark = remark;
- }
- public String getRemark() {
- return remark;
- }
- public void setJdbcType(String jdbcType) {
- this.jdbcType = jdbcType;
- }
- public String getJdbcType() {
- return jdbcType;
- }
- public void setJavaType(String javaType) {
- this.javaType = javaType;
- }
- public String getJavaType() {
- return javaType;
- }
- public void setLength(Integer length) {
- this.length = length;
- }
- public Integer getLength() {
- return length;
- }
- public void setDecimalPlaces(Integer decimalPlaces) {
- this.decimalPlaces = decimalPlaces;
- }
- public Integer getDecimalPlaces() {
- return decimalPlaces;
- }
- public void setDefaultValue(String defaultValue) {
- this.defaultValue = defaultValue;
- }
- public String getDefaultValue() {
- return defaultValue;
- }
- public void setNotNull(Boolean notNull) {
- this.notNull = notNull;
- }
- public Boolean getNotNull() {
- return notNull;
- }
- public void setPrimaryKey(Boolean primaryKey) {
- this.primaryKey = primaryKey;
- }
- public Boolean getPrimaryKey() {
- return primaryKey;
- }
- public void setAutoIncrease(Boolean autoIncrease) {
- this.autoIncrease = autoIncrease;
- }
- public Boolean getAutoIncrease() {
- return autoIncrease;
- }
- public void setShowInList(Boolean showInList) {
- this.showInList = showInList;
- }
- public Boolean getShowInList() {
- return showInList;
- }
- public void setShowInForm(Boolean showInForm) {
- this.showInForm = showInForm;
- }
- public Boolean getShowInForm() {
- return showInForm;
- }
- public void setSearchable(Boolean searchable) {
- this.searchable = searchable;
- }
- public Boolean getSearchable() {
- return searchable;
- }
- public void setFormType(String formType) {
- this.formType = formType;
- }
- public String getFormType() {
- return formType;
- }
- public void setSearchMethod(String searchMethod) {
- this.searchMethod = searchMethod;
- }
- public String getSearchMethod() {
- return searchMethod;
- }
- public void setRequired(Boolean required) {
- this.required = required;
- }
- public Boolean getRequired() {
- return required;
- }
- public void setValidate(Boolean validate) {
- this.validate = validate;
- }
- public Boolean getValidate() {
- return validate;
- }
- public void setMinLength(Integer minLength) {
- this.minLength = minLength;
- }
- public Integer getMinLength() {
- return minLength;
- }
- public void setMaxLength(Integer maxLength) {
- this.maxLength = maxLength;
- }
- public Integer getMaxLength() {
- return maxLength;
- }
- public void setMin(String min) {
- this.min = min;
- }
- public String getMin() {
- return min;
- }
- public void setMax(String max) {
- this.max = max;
- }
- public String getMax() {
- return max;
- }
- public void setValidatorType(String validatorType) {
- this.validatorType = validatorType;
- }
- public String getValidatorType() {
- return validatorType;
- }
- public String getSqlType() {
- return sqlType;
- }
- public void setSqlType(String sqlType) {
- this.sqlType = sqlType;
- }
- public String getModelName() {
- return modelName;
- }
- public void setModelName(String modelName) {
- this.modelName = modelName;
- }
- }
|