diff --git a/src/main/java/com/darkness/api/mapper/base/DicMapper.java b/src/main/java/com/darkness/api/mapper/base/DicMapper.java new file mode 100644 index 0000000..1ac5255 --- /dev/null +++ b/src/main/java/com/darkness/api/mapper/base/DicMapper.java @@ -0,0 +1,7 @@ +package com.darkness.api.mapper.base; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.darkness.pojo.entity.tables.pojos.SysDic; + +public interface DicMapper extends BaseMapper { +} diff --git a/src/main/java/com/darkness/api/mapper/base/DicTypeMapper.java b/src/main/java/com/darkness/api/mapper/base/DicTypeMapper.java new file mode 100644 index 0000000..88f4be0 --- /dev/null +++ b/src/main/java/com/darkness/api/mapper/base/DicTypeMapper.java @@ -0,0 +1,7 @@ +package com.darkness.api.mapper.base; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.darkness.pojo.entity.tables.pojos.SysDicType; + +public interface DicTypeMapper extends BaseMapper { +} diff --git a/src/main/java/com/darkness/pojo/entity/Darkness.java b/src/main/java/com/darkness/pojo/entity/Darkness.java index d0a3f7e..e342af5 100644 --- a/src/main/java/com/darkness/pojo/entity/Darkness.java +++ b/src/main/java/com/darkness/pojo/entity/Darkness.java @@ -4,8 +4,9 @@ package com.darkness.pojo.entity; -import com.darkness.pojo.entity.tables.SysDic; -import com.darkness.pojo.entity.tables.SysDicType; +import com.darkness.pojo.entity.tables.BaseDataHoliday; +import com.darkness.pojo.entity.tables.BaseDic; +import com.darkness.pojo.entity.tables.BaseDicType; import java.util.Arrays; import java.util.List; @@ -28,15 +29,20 @@ public class Darkness extends SchemaImpl { */ public static final Darkness DARKNESS = new Darkness(); + /** + * 节假日数据表 + */ + public final BaseDataHoliday BASE_DATA_HOLIDAY = BaseDataHoliday.BASE_DATA_HOLIDAY; + /** * 字典表 */ - public final SysDic SYS_DIC = SysDic.SYS_DIC; + public final BaseDic BASE_DIC = BaseDic.BASE_DIC; /** * 字典类型表 */ - public final SysDicType SYS_DIC_TYPE = SysDicType.SYS_DIC_TYPE; + public final BaseDicType BASE_DIC_TYPE = BaseDicType.BASE_DIC_TYPE; /** * No further instances allowed @@ -54,7 +60,8 @@ public class Darkness extends SchemaImpl { @Override public final List> getTables() { return Arrays.>asList( - SysDic.SYS_DIC, - SysDicType.SYS_DIC_TYPE); + BaseDataHoliday.BASE_DATA_HOLIDAY, + BaseDic.BASE_DIC, + BaseDicType.BASE_DIC_TYPE); } } diff --git a/src/main/java/com/darkness/pojo/entity/Keys.java b/src/main/java/com/darkness/pojo/entity/Keys.java index 6d9ff2f..80b6aa4 100644 --- a/src/main/java/com/darkness/pojo/entity/Keys.java +++ b/src/main/java/com/darkness/pojo/entity/Keys.java @@ -4,10 +4,12 @@ package com.darkness.pojo.entity; -import com.darkness.pojo.entity.tables.SysDic; -import com.darkness.pojo.entity.tables.SysDicType; -import com.darkness.pojo.entity.tables.records.SysDicRecord; -import com.darkness.pojo.entity.tables.records.SysDicTypeRecord; +import com.darkness.pojo.entity.tables.BaseDataHoliday; +import com.darkness.pojo.entity.tables.BaseDic; +import com.darkness.pojo.entity.tables.BaseDicType; +import com.darkness.pojo.entity.tables.records.BaseDataHolidayRecord; +import com.darkness.pojo.entity.tables.records.BaseDicRecord; +import com.darkness.pojo.entity.tables.records.BaseDicTypeRecord; import org.jooq.TableField; import org.jooq.UniqueKey; @@ -26,6 +28,7 @@ public class Keys { // UNIQUE and PRIMARY KEY definitions // ------------------------------------------------------------------------- - public static final UniqueKey KEY_SYS_DIC_PRIMARY = Internal.createUniqueKey(SysDic.SYS_DIC, DSL.name("KEY_sys_dic_PRIMARY"), new TableField[] { SysDic.SYS_DIC.ID }, true); - public static final UniqueKey KEY_SYS_DIC_TYPE_PRIMARY = Internal.createUniqueKey(SysDicType.SYS_DIC_TYPE, DSL.name("KEY_sys_dic_type_PRIMARY"), new TableField[] { SysDicType.SYS_DIC_TYPE.ID }, true); + public static final UniqueKey KEY_BASE_DATA_HOLIDAY_PRIMARY = Internal.createUniqueKey(BaseDataHoliday.BASE_DATA_HOLIDAY, DSL.name("KEY_base_data_holiday_PRIMARY"), new TableField[] { BaseDataHoliday.BASE_DATA_HOLIDAY.ID }, true); + public static final UniqueKey KEY_BASE_DIC_PRIMARY = Internal.createUniqueKey(BaseDic.BASE_DIC, DSL.name("KEY_base_dic_PRIMARY"), new TableField[] { BaseDic.BASE_DIC.ID }, true); + public static final UniqueKey KEY_BASE_DIC_TYPE_PRIMARY = Internal.createUniqueKey(BaseDicType.BASE_DIC_TYPE, DSL.name("KEY_base_dic_type_PRIMARY"), new TableField[] { BaseDicType.BASE_DIC_TYPE.ID }, true); } diff --git a/src/main/java/com/darkness/pojo/entity/Tables.java b/src/main/java/com/darkness/pojo/entity/Tables.java index 8787fa6..880e3c0 100644 --- a/src/main/java/com/darkness/pojo/entity/Tables.java +++ b/src/main/java/com/darkness/pojo/entity/Tables.java @@ -4,8 +4,9 @@ package com.darkness.pojo.entity; -import com.darkness.pojo.entity.tables.SysDic; -import com.darkness.pojo.entity.tables.SysDicType; +import com.darkness.pojo.entity.tables.BaseDataHoliday; +import com.darkness.pojo.entity.tables.BaseDic; +import com.darkness.pojo.entity.tables.BaseDicType; /** @@ -14,13 +15,18 @@ import com.darkness.pojo.entity.tables.SysDicType; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Tables { + /** + * 节假日数据表 + */ + public static final BaseDataHoliday BASE_DATA_HOLIDAY = BaseDataHoliday.BASE_DATA_HOLIDAY; + /** * 字典表 */ - public static final SysDic SYS_DIC = SysDic.SYS_DIC; + public static final BaseDic BASE_DIC = BaseDic.BASE_DIC; /** * 字典类型表 */ - public static final SysDicType SYS_DIC_TYPE = SysDicType.SYS_DIC_TYPE; + public static final BaseDicType BASE_DIC_TYPE = BaseDicType.BASE_DIC_TYPE; } diff --git a/src/main/java/com/darkness/pojo/entity/tables/SysDic.java b/src/main/java/com/darkness/pojo/entity/tables/SysDic.java deleted file mode 100644 index c51d3a2..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/SysDic.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables; - - -import com.darkness.pojo.entity.Darkness; -import com.darkness.pojo.entity.Keys; -import com.darkness.pojo.entity.tables.records.SysDicRecord; - -import java.time.LocalDateTime; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row18; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * 字典表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysDic extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of darkness.sys_dic - */ - public static final SysDic SYS_DIC = new SysDic(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SysDicRecord.class; - } - - /** - * The column darkness.sys_dic.id. 主键 - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "主键"); - - /** - * The column darkness.sys_dic.type_code. 类型编码 - */ - public final TableField TYPE_CODE = createField(DSL.name("type_code"), SQLDataType.VARCHAR(50), this, "类型编码"); - - /** - * The column darkness.sys_dic.code. 编码 - */ - public final TableField CODE = createField(DSL.name("code"), SQLDataType.INTEGER, this, "编码"); - - /** - * The column darkness.sys_dic.name. 名称 - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "名称"); - - /** - * The column darkness.sys_dic.parenet_code. 父编码 - */ - public final TableField PARENET_CODE = createField(DSL.name("parenet_code"), SQLDataType.INTEGER, this, "父编码"); - - /** - * The column darkness.sys_dic.tree_code. 树编码 - */ - public final TableField TREE_CODE = createField(DSL.name("tree_code"), SQLDataType.VARCHAR(200), this, "树编码"); - - /** - * The column darkness.sys_dic.order. 排序(正序) - */ - public final TableField ORDER = createField(DSL.name("order"), SQLDataType.INTEGER, this, "排序(正序)"); - - /** - * The column darkness.sys_dic.level. 级别 - */ - public final TableField LEVEL = createField(DSL.name("level"), SQLDataType.INTEGER, this, "级别"); - - /** - * The column darkness.sys_dic.business_value. 业务数据 - */ - public final TableField BUSINESS_VALUE = createField(DSL.name("business_value"), SQLDataType.VARCHAR(255), this, "业务数据"); - - /** - * The column darkness.sys_dic.filter_item. 过滤项 - */ - public final TableField FILTER_ITEM = createField(DSL.name("filter_item"), SQLDataType.VARCHAR(255), this, "过滤项"); - - /** - * The column darkness.sys_dic.creator_uid. 创建者用户id - */ - public final TableField CREATOR_UID = createField(DSL.name("creator_uid"), SQLDataType.BIGINT, this, "创建者用户id"); - - /** - * The column darkness.sys_dic.create_time. 记录创建时间 - */ - public final TableField CREATE_TIME = createField(DSL.name("create_time"), SQLDataType.LOCALDATETIME(0), this, "记录创建时间"); - - /** - * The column darkness.sys_dic.operator_uid. 更新人用户id - */ - public final TableField OPERATOR_UID = createField(DSL.name("operator_uid"), SQLDataType.BIGINT, this, "更新人用户id"); - - /** - * The column darkness.sys_dic.update_time. 记录更新时间 - */ - public final TableField UPDATE_TIME = createField(DSL.name("update_time"), SQLDataType.LOCALDATETIME(0), this, "记录更新时间"); - - /** - * The column darkness.sys_dic.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public final TableField DELETE_FLAG = createField(DSL.name("delete_flag"), SQLDataType.TINYINT, this, "是否删除标识位(0未删除,1已删除)"); - - /** - * The column darkness.sys_dic.is_enable. 是否启用 - */ - public final TableField IS_ENABLE = createField(DSL.name("is_enable"), SQLDataType.INTEGER, this, "是否启用"); - - /** - * The column darkness.sys_dic.app_id. 多应用的应用id - */ - public final TableField APP_ID = createField(DSL.name("app_id"), SQLDataType.VARCHAR(255), this, "多应用的应用id"); - - /** - * The column darkness.sys_dic.namespace_id. 域空间id - */ - public final TableField NAMESPACE_ID = createField(DSL.name("namespace_id"), SQLDataType.INTEGER, this, "域空间id"); - - private SysDic(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SysDic(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("字典表"), TableOptions.table()); - } - - /** - * Create an aliased darkness.sys_dic table reference - */ - public SysDic(String alias) { - this(DSL.name(alias), SYS_DIC); - } - - /** - * Create an aliased darkness.sys_dic table reference - */ - public SysDic(Name alias) { - this(alias, SYS_DIC); - } - - /** - * Create a darkness.sys_dic table reference - */ - public SysDic() { - this(DSL.name("sys_dic"), null); - } - - public SysDic(Table child, ForeignKey key) { - super(child, key, SYS_DIC); - } - - @Override - public Schema getSchema() { - return Darkness.DARKNESS; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_SYS_DIC_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_SYS_DIC_PRIMARY); - } - - @Override - public SysDic as(String alias) { - return new SysDic(DSL.name(alias), this); - } - - @Override - public SysDic as(Name alias) { - return new SysDic(alias, this); - } - - /** - * Rename this table - */ - @Override - public SysDic rename(String name) { - return new SysDic(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SysDic rename(Name name) { - return new SysDic(name, null); - } - - // ------------------------------------------------------------------------- - // Row18 type methods - // ------------------------------------------------------------------------- - - @Override - public Row18 fieldsRow() { - return (Row18) super.fieldsRow(); - } -} diff --git a/src/main/java/com/darkness/pojo/entity/tables/SysDicType.java b/src/main/java/com/darkness/pojo/entity/tables/SysDicType.java deleted file mode 100644 index 52edf99..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/SysDicType.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables; - - -import com.darkness.pojo.entity.Darkness; -import com.darkness.pojo.entity.Keys; -import com.darkness.pojo.entity.tables.records.SysDicTypeRecord; - -import java.time.LocalDateTime; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row11; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * 字典类型表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysDicType extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of darkness.sys_dic_type - */ - public static final SysDicType SYS_DIC_TYPE = new SysDicType(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SysDicTypeRecord.class; - } - - /** - * The column darkness.sys_dic_type.id. 主键 - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "主键"); - - /** - * The column darkness.sys_dic_type.type_code. 类型编码 - */ - public final TableField TYPE_CODE = createField(DSL.name("type_code"), SQLDataType.VARCHAR(50), this, "类型编码"); - - /** - * The column darkness.sys_dic_type.type_name. 名称 - */ - public final TableField TYPE_NAME = createField(DSL.name("type_name"), SQLDataType.VARCHAR(20), this, "名称"); - - /** - * The column darkness.sys_dic_type.order. 排序 - */ - public final TableField ORDER = createField(DSL.name("order"), SQLDataType.INTEGER, this, "排序"); - - /** - * The column darkness.sys_dic_type.creator_uid. 创建者用户id - */ - public final TableField CREATOR_UID = createField(DSL.name("creator_uid"), SQLDataType.BIGINT, this, "创建者用户id"); - - /** - * The column darkness.sys_dic_type.create_time. 记录创建时间 - */ - public final TableField CREATE_TIME = createField(DSL.name("create_time"), SQLDataType.LOCALDATETIME(0), this, "记录创建时间"); - - /** - * The column darkness.sys_dic_type.operator_uid. 更新人用户id - */ - public final TableField OPERATOR_UID = createField(DSL.name("operator_uid"), SQLDataType.BIGINT, this, "更新人用户id"); - - /** - * The column darkness.sys_dic_type.update_time. 记录更新时间 - */ - public final TableField UPDATE_TIME = createField(DSL.name("update_time"), SQLDataType.LOCALDATETIME(0), this, "记录更新时间"); - - /** - * The column darkness.sys_dic_type.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public final TableField DELETE_FLAG = createField(DSL.name("delete_flag"), SQLDataType.TINYINT, this, "是否删除标识位(0未删除,1已删除)"); - - /** - * The column darkness.sys_dic_type.app_id. 多应用的应用id - */ - public final TableField APP_ID = createField(DSL.name("app_id"), SQLDataType.VARCHAR(255), this, "多应用的应用id"); - - /** - * The column darkness.sys_dic_type.namespace_id. 域空间id - */ - public final TableField NAMESPACE_ID = createField(DSL.name("namespace_id"), SQLDataType.INTEGER, this, "域空间id"); - - private SysDicType(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SysDicType(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("字典类型表"), TableOptions.table()); - } - - /** - * Create an aliased darkness.sys_dic_type table reference - */ - public SysDicType(String alias) { - this(DSL.name(alias), SYS_DIC_TYPE); - } - - /** - * Create an aliased darkness.sys_dic_type table reference - */ - public SysDicType(Name alias) { - this(alias, SYS_DIC_TYPE); - } - - /** - * Create a darkness.sys_dic_type table reference - */ - public SysDicType() { - this(DSL.name("sys_dic_type"), null); - } - - public SysDicType(Table child, ForeignKey key) { - super(child, key, SYS_DIC_TYPE); - } - - @Override - public Schema getSchema() { - return Darkness.DARKNESS; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_SYS_DIC_TYPE_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_SYS_DIC_TYPE_PRIMARY); - } - - @Override - public SysDicType as(String alias) { - return new SysDicType(DSL.name(alias), this); - } - - @Override - public SysDicType as(Name alias) { - return new SysDicType(alias, this); - } - - /** - * Rename this table - */ - @Override - public SysDicType rename(String name) { - return new SysDicType(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SysDicType rename(Name name) { - return new SysDicType(name, null); - } - - // ------------------------------------------------------------------------- - // Row11 type methods - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } -} diff --git a/src/main/java/com/darkness/pojo/entity/tables/daos/SysDicDao.java b/src/main/java/com/darkness/pojo/entity/tables/daos/SysDicDao.java deleted file mode 100644 index 547c2ce..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/daos/SysDicDao.java +++ /dev/null @@ -1,304 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables.daos; - - -import com.darkness.pojo.entity.tables.SysDic; -import com.darkness.pojo.entity.tables.records.SysDicRecord; - -import java.time.LocalDateTime; -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * 字典表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SysDicDao extends DAOImpl { - - /** - * Create a new SysDicDao without any configuration - */ - public SysDicDao() { - super(SysDic.SYS_DIC, com.darkness.pojo.entity.tables.pojos.SysDic.class); - } - - /** - * Create a new SysDicDao with an attached configuration - */ - @Autowired - public SysDicDao(Configuration configuration) { - super(SysDic.SYS_DIC, com.darkness.pojo.entity.tables.pojos.SysDic.class, configuration); - } - - @Override - public Long getId(com.darkness.pojo.entity.tables.pojos.SysDic object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfId(Long lowerInclusive, Long upperInclusive) { - return fetchRange(SysDic.SYS_DIC.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(Long... values) { - return fetch(SysDic.SYS_DIC.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public com.darkness.pojo.entity.tables.pojos.SysDic fetchOneById(Long value) { - return fetchOne(SysDic.SYS_DIC.ID, value); - } - - /** - * Fetch records that have type_code BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfTypeCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDic.SYS_DIC.TYPE_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have type_code IN (values) - */ - public List fetchByTypeCode(String... values) { - return fetch(SysDic.SYS_DIC.TYPE_CODE, values); - } - - /** - * Fetch records that have code BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCode(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDic.SYS_DIC.CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have code IN (values) - */ - public List fetchByCode(Integer... values) { - return fetch(SysDic.SYS_DIC.CODE, values); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDic.SYS_DIC.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(SysDic.SYS_DIC.NAME, values); - } - - /** - * Fetch records that have parenet_code BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfParenetCode(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDic.SYS_DIC.PARENET_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have parenet_code IN (values) - */ - public List fetchByParenetCode(Integer... values) { - return fetch(SysDic.SYS_DIC.PARENET_CODE, values); - } - - /** - * Fetch records that have tree_code BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfTreeCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDic.SYS_DIC.TREE_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have tree_code IN (values) - */ - public List fetchByTreeCode(String... values) { - return fetch(SysDic.SYS_DIC.TREE_CODE, values); - } - - /** - * Fetch records that have order BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOrder(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDic.SYS_DIC.ORDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have order IN (values) - */ - public List fetchByOrder(Integer... values) { - return fetch(SysDic.SYS_DIC.ORDER, values); - } - - /** - * Fetch records that have level BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfLevel(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDic.SYS_DIC.LEVEL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have level IN (values) - */ - public List fetchByLevel(Integer... values) { - return fetch(SysDic.SYS_DIC.LEVEL, values); - } - - /** - * Fetch records that have business_value BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfBusinessValue(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDic.SYS_DIC.BUSINESS_VALUE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have business_value IN (values) - */ - public List fetchByBusinessValue(String... values) { - return fetch(SysDic.SYS_DIC.BUSINESS_VALUE, values); - } - - /** - * Fetch records that have filter_item BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfFilterItem(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDic.SYS_DIC.FILTER_ITEM, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have filter_item IN (values) - */ - public List fetchByFilterItem(String... values) { - return fetch(SysDic.SYS_DIC.FILTER_ITEM, values); - } - - /** - * Fetch records that have creator_uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreatorUid(Long lowerInclusive, Long upperInclusive) { - return fetchRange(SysDic.SYS_DIC.CREATOR_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creator_uid IN (values) - */ - public List fetchByCreatorUid(Long... values) { - return fetch(SysDic.SYS_DIC.CREATOR_UID, values); - } - - /** - * Fetch records that have create_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(SysDic.SYS_DIC.CREATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have create_time IN (values) - */ - public List fetchByCreateTime(LocalDateTime... values) { - return fetch(SysDic.SYS_DIC.CREATE_TIME, values); - } - - /** - * Fetch records that have operator_uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOperatorUid(Long lowerInclusive, Long upperInclusive) { - return fetchRange(SysDic.SYS_DIC.OPERATOR_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have operator_uid IN (values) - */ - public List fetchByOperatorUid(Long... values) { - return fetch(SysDic.SYS_DIC.OPERATOR_UID, values); - } - - /** - * Fetch records that have update_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUpdateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(SysDic.SYS_DIC.UPDATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_time IN (values) - */ - public List fetchByUpdateTime(LocalDateTime... values) { - return fetch(SysDic.SYS_DIC.UPDATE_TIME, values); - } - - /** - * Fetch records that have delete_flag BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDeleteFlag(Byte lowerInclusive, Byte upperInclusive) { - return fetchRange(SysDic.SYS_DIC.DELETE_FLAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have delete_flag IN (values) - */ - public List fetchByDeleteFlag(Byte... values) { - return fetch(SysDic.SYS_DIC.DELETE_FLAG, values); - } - - /** - * Fetch records that have is_enable BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfIsEnable(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDic.SYS_DIC.IS_ENABLE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_enable IN (values) - */ - public List fetchByIsEnable(Integer... values) { - return fetch(SysDic.SYS_DIC.IS_ENABLE, values); - } - - /** - * Fetch records that have app_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfAppId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDic.SYS_DIC.APP_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have app_id IN (values) - */ - public List fetchByAppId(String... values) { - return fetch(SysDic.SYS_DIC.APP_ID, values); - } - - /** - * Fetch records that have namespace_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfNamespaceId(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDic.SYS_DIC.NAMESPACE_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have namespace_id IN (values) - */ - public List fetchByNamespaceId(Integer... values) { - return fetch(SysDic.SYS_DIC.NAMESPACE_ID, values); - } -} diff --git a/src/main/java/com/darkness/pojo/entity/tables/daos/SysDicTypeDao.java b/src/main/java/com/darkness/pojo/entity/tables/daos/SysDicTypeDao.java deleted file mode 100644 index 779033a..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/daos/SysDicTypeDao.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables.daos; - - -import com.darkness.pojo.entity.tables.SysDicType; -import com.darkness.pojo.entity.tables.records.SysDicTypeRecord; - -import java.time.LocalDateTime; -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Repository; - - -/** - * 字典类型表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -@Repository -public class SysDicTypeDao extends DAOImpl { - - /** - * Create a new SysDicTypeDao without any configuration - */ - public SysDicTypeDao() { - super(SysDicType.SYS_DIC_TYPE, com.darkness.pojo.entity.tables.pojos.SysDicType.class); - } - - /** - * Create a new SysDicTypeDao with an attached configuration - */ - @Autowired - public SysDicTypeDao(Configuration configuration) { - super(SysDicType.SYS_DIC_TYPE, com.darkness.pojo.entity.tables.pojos.SysDicType.class, configuration); - } - - @Override - public Long getId(com.darkness.pojo.entity.tables.pojos.SysDicType object) { - return object.getId(); - } - - /** - * Fetch records that have id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfId(Long lowerInclusive, Long upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have id IN (values) - */ - public List fetchById(Long... values) { - return fetch(SysDicType.SYS_DIC_TYPE.ID, values); - } - - /** - * Fetch a unique record that has id = value - */ - public com.darkness.pojo.entity.tables.pojos.SysDicType fetchOneById(Long value) { - return fetchOne(SysDicType.SYS_DIC_TYPE.ID, value); - } - - /** - * Fetch records that have type_code BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfTypeCode(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.TYPE_CODE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have type_code IN (values) - */ - public List fetchByTypeCode(String... values) { - return fetch(SysDicType.SYS_DIC_TYPE.TYPE_CODE, values); - } - - /** - * Fetch records that have type_name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfTypeName(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.TYPE_NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have type_name IN (values) - */ - public List fetchByTypeName(String... values) { - return fetch(SysDicType.SYS_DIC_TYPE.TYPE_NAME, values); - } - - /** - * Fetch records that have order BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOrder(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.ORDER, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have order IN (values) - */ - public List fetchByOrder(Integer... values) { - return fetch(SysDicType.SYS_DIC_TYPE.ORDER, values); - } - - /** - * Fetch records that have creator_uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreatorUid(Long lowerInclusive, Long upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.CREATOR_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creator_uid IN (values) - */ - public List fetchByCreatorUid(Long... values) { - return fetch(SysDicType.SYS_DIC_TYPE.CREATOR_UID, values); - } - - /** - * Fetch records that have create_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.CREATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have create_time IN (values) - */ - public List fetchByCreateTime(LocalDateTime... values) { - return fetch(SysDicType.SYS_DIC_TYPE.CREATE_TIME, values); - } - - /** - * Fetch records that have operator_uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOperatorUid(Long lowerInclusive, Long upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.OPERATOR_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have operator_uid IN (values) - */ - public List fetchByOperatorUid(Long... values) { - return fetch(SysDicType.SYS_DIC_TYPE.OPERATOR_UID, values); - } - - /** - * Fetch records that have update_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUpdateTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.UPDATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have update_time IN (values) - */ - public List fetchByUpdateTime(LocalDateTime... values) { - return fetch(SysDicType.SYS_DIC_TYPE.UPDATE_TIME, values); - } - - /** - * Fetch records that have delete_flag BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDeleteFlag(Byte lowerInclusive, Byte upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.DELETE_FLAG, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have delete_flag IN (values) - */ - public List fetchByDeleteFlag(Byte... values) { - return fetch(SysDicType.SYS_DIC_TYPE.DELETE_FLAG, values); - } - - /** - * Fetch records that have app_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfAppId(String lowerInclusive, String upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.APP_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have app_id IN (values) - */ - public List fetchByAppId(String... values) { - return fetch(SysDicType.SYS_DIC_TYPE.APP_ID, values); - } - - /** - * Fetch records that have namespace_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfNamespaceId(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(SysDicType.SYS_DIC_TYPE.NAMESPACE_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have namespace_id IN (values) - */ - public List fetchByNamespaceId(Integer... values) { - return fetch(SysDicType.SYS_DIC_TYPE.NAMESPACE_ID, values); - } -} diff --git a/src/main/java/com/darkness/pojo/entity/tables/pojos/SysDic.java b/src/main/java/com/darkness/pojo/entity/tables/pojos/SysDic.java deleted file mode 100644 index b0505cc..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/pojos/SysDic.java +++ /dev/null @@ -1,387 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - -import javax.validation.constraints.Size; - - -/** - * 字典表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysDic implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - private String typeCode; - private Integer code; - private String name; - private Integer parenetCode; - private String treeCode; - private Integer order; - private Integer level; - private String businessValue; - private String filterItem; - private Long creatorUid; - private LocalDateTime createTime; - private Long operatorUid; - private LocalDateTime updateTime; - private Byte deleteFlag; - private Integer isEnable; - private String appId; - private Integer namespaceId; - - public SysDic() {} - - public SysDic(SysDic value) { - this.id = value.id; - this.typeCode = value.typeCode; - this.code = value.code; - this.name = value.name; - this.parenetCode = value.parenetCode; - this.treeCode = value.treeCode; - this.order = value.order; - this.level = value.level; - this.businessValue = value.businessValue; - this.filterItem = value.filterItem; - this.creatorUid = value.creatorUid; - this.createTime = value.createTime; - this.operatorUid = value.operatorUid; - this.updateTime = value.updateTime; - this.deleteFlag = value.deleteFlag; - this.isEnable = value.isEnable; - this.appId = value.appId; - this.namespaceId = value.namespaceId; - } - - public SysDic( - Long id, - String typeCode, - Integer code, - String name, - Integer parenetCode, - String treeCode, - Integer order, - Integer level, - String businessValue, - String filterItem, - Long creatorUid, - LocalDateTime createTime, - Long operatorUid, - LocalDateTime updateTime, - Byte deleteFlag, - Integer isEnable, - String appId, - Integer namespaceId - ) { - this.id = id; - this.typeCode = typeCode; - this.code = code; - this.name = name; - this.parenetCode = parenetCode; - this.treeCode = treeCode; - this.order = order; - this.level = level; - this.businessValue = businessValue; - this.filterItem = filterItem; - this.creatorUid = creatorUid; - this.createTime = createTime; - this.operatorUid = operatorUid; - this.updateTime = updateTime; - this.deleteFlag = deleteFlag; - this.isEnable = isEnable; - this.appId = appId; - this.namespaceId = namespaceId; - } - - /** - * Getter for darkness.sys_dic.id. 主键 - */ - public Long getId() { - return this.id; - } - - /** - * Setter for darkness.sys_dic.id. 主键 - */ - public void setId(Long id) { - this.id = id; - } - - /** - * Getter for darkness.sys_dic.type_code. 类型编码 - */ - @Size(max = 50) - public String getTypeCode() { - return this.typeCode; - } - - /** - * Setter for darkness.sys_dic.type_code. 类型编码 - */ - public void setTypeCode(String typeCode) { - this.typeCode = typeCode; - } - - /** - * Getter for darkness.sys_dic.code. 编码 - */ - public Integer getCode() { - return this.code; - } - - /** - * Setter for darkness.sys_dic.code. 编码 - */ - public void setCode(Integer code) { - this.code = code; - } - - /** - * Getter for darkness.sys_dic.name. 名称 - */ - @Size(max = 255) - public String getName() { - return this.name; - } - - /** - * Setter for darkness.sys_dic.name. 名称 - */ - public void setName(String name) { - this.name = name; - } - - /** - * Getter for darkness.sys_dic.parenet_code. 父编码 - */ - public Integer getParenetCode() { - return this.parenetCode; - } - - /** - * Setter for darkness.sys_dic.parenet_code. 父编码 - */ - public void setParenetCode(Integer parenetCode) { - this.parenetCode = parenetCode; - } - - /** - * Getter for darkness.sys_dic.tree_code. 树编码 - */ - @Size(max = 200) - public String getTreeCode() { - return this.treeCode; - } - - /** - * Setter for darkness.sys_dic.tree_code. 树编码 - */ - public void setTreeCode(String treeCode) { - this.treeCode = treeCode; - } - - /** - * Getter for darkness.sys_dic.order. 排序(正序) - */ - public Integer getOrder() { - return this.order; - } - - /** - * Setter for darkness.sys_dic.order. 排序(正序) - */ - public void setOrder(Integer order) { - this.order = order; - } - - /** - * Getter for darkness.sys_dic.level. 级别 - */ - public Integer getLevel() { - return this.level; - } - - /** - * Setter for darkness.sys_dic.level. 级别 - */ - public void setLevel(Integer level) { - this.level = level; - } - - /** - * Getter for darkness.sys_dic.business_value. 业务数据 - */ - @Size(max = 255) - public String getBusinessValue() { - return this.businessValue; - } - - /** - * Setter for darkness.sys_dic.business_value. 业务数据 - */ - public void setBusinessValue(String businessValue) { - this.businessValue = businessValue; - } - - /** - * Getter for darkness.sys_dic.filter_item. 过滤项 - */ - @Size(max = 255) - public String getFilterItem() { - return this.filterItem; - } - - /** - * Setter for darkness.sys_dic.filter_item. 过滤项 - */ - public void setFilterItem(String filterItem) { - this.filterItem = filterItem; - } - - /** - * Getter for darkness.sys_dic.creator_uid. 创建者用户id - */ - public Long getCreatorUid() { - return this.creatorUid; - } - - /** - * Setter for darkness.sys_dic.creator_uid. 创建者用户id - */ - public void setCreatorUid(Long creatorUid) { - this.creatorUid = creatorUid; - } - - /** - * Getter for darkness.sys_dic.create_time. 记录创建时间 - */ - public LocalDateTime getCreateTime() { - return this.createTime; - } - - /** - * Setter for darkness.sys_dic.create_time. 记录创建时间 - */ - public void setCreateTime(LocalDateTime createTime) { - this.createTime = createTime; - } - - /** - * Getter for darkness.sys_dic.operator_uid. 更新人用户id - */ - public Long getOperatorUid() { - return this.operatorUid; - } - - /** - * Setter for darkness.sys_dic.operator_uid. 更新人用户id - */ - public void setOperatorUid(Long operatorUid) { - this.operatorUid = operatorUid; - } - - /** - * Getter for darkness.sys_dic.update_time. 记录更新时间 - */ - public LocalDateTime getUpdateTime() { - return this.updateTime; - } - - /** - * Setter for darkness.sys_dic.update_time. 记录更新时间 - */ - public void setUpdateTime(LocalDateTime updateTime) { - this.updateTime = updateTime; - } - - /** - * Getter for darkness.sys_dic.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public Byte getDeleteFlag() { - return this.deleteFlag; - } - - /** - * Setter for darkness.sys_dic.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public void setDeleteFlag(Byte deleteFlag) { - this.deleteFlag = deleteFlag; - } - - /** - * Getter for darkness.sys_dic.is_enable. 是否启用 - */ - public Integer getIsEnable() { - return this.isEnable; - } - - /** - * Setter for darkness.sys_dic.is_enable. 是否启用 - */ - public void setIsEnable(Integer isEnable) { - this.isEnable = isEnable; - } - - /** - * Getter for darkness.sys_dic.app_id. 多应用的应用id - */ - @Size(max = 255) - public String getAppId() { - return this.appId; - } - - /** - * Setter for darkness.sys_dic.app_id. 多应用的应用id - */ - public void setAppId(String appId) { - this.appId = appId; - } - - /** - * Getter for darkness.sys_dic.namespace_id. 域空间id - */ - public Integer getNamespaceId() { - return this.namespaceId; - } - - /** - * Setter for darkness.sys_dic.namespace_id. 域空间id - */ - public void setNamespaceId(Integer namespaceId) { - this.namespaceId = namespaceId; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SysDic ("); - - sb.append(id); - sb.append(", ").append(typeCode); - sb.append(", ").append(code); - sb.append(", ").append(name); - sb.append(", ").append(parenetCode); - sb.append(", ").append(treeCode); - sb.append(", ").append(order); - sb.append(", ").append(level); - sb.append(", ").append(businessValue); - sb.append(", ").append(filterItem); - sb.append(", ").append(creatorUid); - sb.append(", ").append(createTime); - sb.append(", ").append(operatorUid); - sb.append(", ").append(updateTime); - sb.append(", ").append(deleteFlag); - sb.append(", ").append(isEnable); - sb.append(", ").append(appId); - sb.append(", ").append(namespaceId); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/com/darkness/pojo/entity/tables/pojos/SysDicType.java b/src/main/java/com/darkness/pojo/entity/tables/pojos/SysDicType.java deleted file mode 100644 index f7c1719..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/pojos/SysDicType.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables.pojos; - - -import java.io.Serializable; -import java.time.LocalDateTime; - -import javax.validation.constraints.Size; - - -/** - * 字典类型表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysDicType implements Serializable { - - private static final long serialVersionUID = 1L; - - private Long id; - private String typeCode; - private String typeName; - private Integer order; - private Long creatorUid; - private LocalDateTime createTime; - private Long operatorUid; - private LocalDateTime updateTime; - private Byte deleteFlag; - private String appId; - private Integer namespaceId; - - public SysDicType() {} - - public SysDicType(SysDicType value) { - this.id = value.id; - this.typeCode = value.typeCode; - this.typeName = value.typeName; - this.order = value.order; - this.creatorUid = value.creatorUid; - this.createTime = value.createTime; - this.operatorUid = value.operatorUid; - this.updateTime = value.updateTime; - this.deleteFlag = value.deleteFlag; - this.appId = value.appId; - this.namespaceId = value.namespaceId; - } - - public SysDicType( - Long id, - String typeCode, - String typeName, - Integer order, - Long creatorUid, - LocalDateTime createTime, - Long operatorUid, - LocalDateTime updateTime, - Byte deleteFlag, - String appId, - Integer namespaceId - ) { - this.id = id; - this.typeCode = typeCode; - this.typeName = typeName; - this.order = order; - this.creatorUid = creatorUid; - this.createTime = createTime; - this.operatorUid = operatorUid; - this.updateTime = updateTime; - this.deleteFlag = deleteFlag; - this.appId = appId; - this.namespaceId = namespaceId; - } - - /** - * Getter for darkness.sys_dic_type.id. 主键 - */ - public Long getId() { - return this.id; - } - - /** - * Setter for darkness.sys_dic_type.id. 主键 - */ - public void setId(Long id) { - this.id = id; - } - - /** - * Getter for darkness.sys_dic_type.type_code. 类型编码 - */ - @Size(max = 50) - public String getTypeCode() { - return this.typeCode; - } - - /** - * Setter for darkness.sys_dic_type.type_code. 类型编码 - */ - public void setTypeCode(String typeCode) { - this.typeCode = typeCode; - } - - /** - * Getter for darkness.sys_dic_type.type_name. 名称 - */ - @Size(max = 20) - public String getTypeName() { - return this.typeName; - } - - /** - * Setter for darkness.sys_dic_type.type_name. 名称 - */ - public void setTypeName(String typeName) { - this.typeName = typeName; - } - - /** - * Getter for darkness.sys_dic_type.order. 排序 - */ - public Integer getOrder() { - return this.order; - } - - /** - * Setter for darkness.sys_dic_type.order. 排序 - */ - public void setOrder(Integer order) { - this.order = order; - } - - /** - * Getter for darkness.sys_dic_type.creator_uid. 创建者用户id - */ - public Long getCreatorUid() { - return this.creatorUid; - } - - /** - * Setter for darkness.sys_dic_type.creator_uid. 创建者用户id - */ - public void setCreatorUid(Long creatorUid) { - this.creatorUid = creatorUid; - } - - /** - * Getter for darkness.sys_dic_type.create_time. 记录创建时间 - */ - public LocalDateTime getCreateTime() { - return this.createTime; - } - - /** - * Setter for darkness.sys_dic_type.create_time. 记录创建时间 - */ - public void setCreateTime(LocalDateTime createTime) { - this.createTime = createTime; - } - - /** - * Getter for darkness.sys_dic_type.operator_uid. 更新人用户id - */ - public Long getOperatorUid() { - return this.operatorUid; - } - - /** - * Setter for darkness.sys_dic_type.operator_uid. 更新人用户id - */ - public void setOperatorUid(Long operatorUid) { - this.operatorUid = operatorUid; - } - - /** - * Getter for darkness.sys_dic_type.update_time. 记录更新时间 - */ - public LocalDateTime getUpdateTime() { - return this.updateTime; - } - - /** - * Setter for darkness.sys_dic_type.update_time. 记录更新时间 - */ - public void setUpdateTime(LocalDateTime updateTime) { - this.updateTime = updateTime; - } - - /** - * Getter for darkness.sys_dic_type.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public Byte getDeleteFlag() { - return this.deleteFlag; - } - - /** - * Setter for darkness.sys_dic_type.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public void setDeleteFlag(Byte deleteFlag) { - this.deleteFlag = deleteFlag; - } - - /** - * Getter for darkness.sys_dic_type.app_id. 多应用的应用id - */ - @Size(max = 255) - public String getAppId() { - return this.appId; - } - - /** - * Setter for darkness.sys_dic_type.app_id. 多应用的应用id - */ - public void setAppId(String appId) { - this.appId = appId; - } - - /** - * Getter for darkness.sys_dic_type.namespace_id. 域空间id - */ - public Integer getNamespaceId() { - return this.namespaceId; - } - - /** - * Setter for darkness.sys_dic_type.namespace_id. 域空间id - */ - public void setNamespaceId(Integer namespaceId) { - this.namespaceId = namespaceId; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SysDicType ("); - - sb.append(id); - sb.append(", ").append(typeCode); - sb.append(", ").append(typeName); - sb.append(", ").append(order); - sb.append(", ").append(creatorUid); - sb.append(", ").append(createTime); - sb.append(", ").append(operatorUid); - sb.append(", ").append(updateTime); - sb.append(", ").append(deleteFlag); - sb.append(", ").append(appId); - sb.append(", ").append(namespaceId); - - sb.append(")"); - return sb.toString(); - } -} diff --git a/src/main/java/com/darkness/pojo/entity/tables/records/SysDicRecord.java b/src/main/java/com/darkness/pojo/entity/tables/records/SysDicRecord.java deleted file mode 100644 index f0e5e67..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/records/SysDicRecord.java +++ /dev/null @@ -1,746 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables.records; - - -import com.darkness.pojo.entity.tables.SysDic; - -import java.time.LocalDateTime; - -import javax.validation.constraints.Size; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record18; -import org.jooq.Row18; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 字典表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysDicRecord extends UpdatableRecordImpl implements Record18 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for darkness.sys_dic.id. 主键 - */ - public void setId(Long value) { - set(0, value); - } - - /** - * Getter for darkness.sys_dic.id. 主键 - */ - public Long getId() { - return (Long) get(0); - } - - /** - * Setter for darkness.sys_dic.type_code. 类型编码 - */ - public void setTypeCode(String value) { - set(1, value); - } - - /** - * Getter for darkness.sys_dic.type_code. 类型编码 - */ - @Size(max = 50) - public String getTypeCode() { - return (String) get(1); - } - - /** - * Setter for darkness.sys_dic.code. 编码 - */ - public void setCode(Integer value) { - set(2, value); - } - - /** - * Getter for darkness.sys_dic.code. 编码 - */ - public Integer getCode() { - return (Integer) get(2); - } - - /** - * Setter for darkness.sys_dic.name. 名称 - */ - public void setName(String value) { - set(3, value); - } - - /** - * Getter for darkness.sys_dic.name. 名称 - */ - @Size(max = 255) - public String getName() { - return (String) get(3); - } - - /** - * Setter for darkness.sys_dic.parenet_code. 父编码 - */ - public void setParenetCode(Integer value) { - set(4, value); - } - - /** - * Getter for darkness.sys_dic.parenet_code. 父编码 - */ - public Integer getParenetCode() { - return (Integer) get(4); - } - - /** - * Setter for darkness.sys_dic.tree_code. 树编码 - */ - public void setTreeCode(String value) { - set(5, value); - } - - /** - * Getter for darkness.sys_dic.tree_code. 树编码 - */ - @Size(max = 200) - public String getTreeCode() { - return (String) get(5); - } - - /** - * Setter for darkness.sys_dic.order. 排序(正序) - */ - public void setOrder(Integer value) { - set(6, value); - } - - /** - * Getter for darkness.sys_dic.order. 排序(正序) - */ - public Integer getOrder() { - return (Integer) get(6); - } - - /** - * Setter for darkness.sys_dic.level. 级别 - */ - public void setLevel(Integer value) { - set(7, value); - } - - /** - * Getter for darkness.sys_dic.level. 级别 - */ - public Integer getLevel() { - return (Integer) get(7); - } - - /** - * Setter for darkness.sys_dic.business_value. 业务数据 - */ - public void setBusinessValue(String value) { - set(8, value); - } - - /** - * Getter for darkness.sys_dic.business_value. 业务数据 - */ - @Size(max = 255) - public String getBusinessValue() { - return (String) get(8); - } - - /** - * Setter for darkness.sys_dic.filter_item. 过滤项 - */ - public void setFilterItem(String value) { - set(9, value); - } - - /** - * Getter for darkness.sys_dic.filter_item. 过滤项 - */ - @Size(max = 255) - public String getFilterItem() { - return (String) get(9); - } - - /** - * Setter for darkness.sys_dic.creator_uid. 创建者用户id - */ - public void setCreatorUid(Long value) { - set(10, value); - } - - /** - * Getter for darkness.sys_dic.creator_uid. 创建者用户id - */ - public Long getCreatorUid() { - return (Long) get(10); - } - - /** - * Setter for darkness.sys_dic.create_time. 记录创建时间 - */ - public void setCreateTime(LocalDateTime value) { - set(11, value); - } - - /** - * Getter for darkness.sys_dic.create_time. 记录创建时间 - */ - public LocalDateTime getCreateTime() { - return (LocalDateTime) get(11); - } - - /** - * Setter for darkness.sys_dic.operator_uid. 更新人用户id - */ - public void setOperatorUid(Long value) { - set(12, value); - } - - /** - * Getter for darkness.sys_dic.operator_uid. 更新人用户id - */ - public Long getOperatorUid() { - return (Long) get(12); - } - - /** - * Setter for darkness.sys_dic.update_time. 记录更新时间 - */ - public void setUpdateTime(LocalDateTime value) { - set(13, value); - } - - /** - * Getter for darkness.sys_dic.update_time. 记录更新时间 - */ - public LocalDateTime getUpdateTime() { - return (LocalDateTime) get(13); - } - - /** - * Setter for darkness.sys_dic.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public void setDeleteFlag(Byte value) { - set(14, value); - } - - /** - * Getter for darkness.sys_dic.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public Byte getDeleteFlag() { - return (Byte) get(14); - } - - /** - * Setter for darkness.sys_dic.is_enable. 是否启用 - */ - public void setIsEnable(Integer value) { - set(15, value); - } - - /** - * Getter for darkness.sys_dic.is_enable. 是否启用 - */ - public Integer getIsEnable() { - return (Integer) get(15); - } - - /** - * Setter for darkness.sys_dic.app_id. 多应用的应用id - */ - public void setAppId(String value) { - set(16, value); - } - - /** - * Getter for darkness.sys_dic.app_id. 多应用的应用id - */ - @Size(max = 255) - public String getAppId() { - return (String) get(16); - } - - /** - * Setter for darkness.sys_dic.namespace_id. 域空间id - */ - public void setNamespaceId(Integer value) { - set(17, value); - } - - /** - * Getter for darkness.sys_dic.namespace_id. 域空间id - */ - public Integer getNamespaceId() { - return (Integer) get(17); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record18 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row18 fieldsRow() { - return (Row18) super.fieldsRow(); - } - - @Override - public Row18 valuesRow() { - return (Row18) super.valuesRow(); - } - - @Override - public Field field1() { - return SysDic.SYS_DIC.ID; - } - - @Override - public Field field2() { - return SysDic.SYS_DIC.TYPE_CODE; - } - - @Override - public Field field3() { - return SysDic.SYS_DIC.CODE; - } - - @Override - public Field field4() { - return SysDic.SYS_DIC.NAME; - } - - @Override - public Field field5() { - return SysDic.SYS_DIC.PARENET_CODE; - } - - @Override - public Field field6() { - return SysDic.SYS_DIC.TREE_CODE; - } - - @Override - public Field field7() { - return SysDic.SYS_DIC.ORDER; - } - - @Override - public Field field8() { - return SysDic.SYS_DIC.LEVEL; - } - - @Override - public Field field9() { - return SysDic.SYS_DIC.BUSINESS_VALUE; - } - - @Override - public Field field10() { - return SysDic.SYS_DIC.FILTER_ITEM; - } - - @Override - public Field field11() { - return SysDic.SYS_DIC.CREATOR_UID; - } - - @Override - public Field field12() { - return SysDic.SYS_DIC.CREATE_TIME; - } - - @Override - public Field field13() { - return SysDic.SYS_DIC.OPERATOR_UID; - } - - @Override - public Field field14() { - return SysDic.SYS_DIC.UPDATE_TIME; - } - - @Override - public Field field15() { - return SysDic.SYS_DIC.DELETE_FLAG; - } - - @Override - public Field field16() { - return SysDic.SYS_DIC.IS_ENABLE; - } - - @Override - public Field field17() { - return SysDic.SYS_DIC.APP_ID; - } - - @Override - public Field field18() { - return SysDic.SYS_DIC.NAMESPACE_ID; - } - - @Override - public Long component1() { - return getId(); - } - - @Override - public String component2() { - return getTypeCode(); - } - - @Override - public Integer component3() { - return getCode(); - } - - @Override - public String component4() { - return getName(); - } - - @Override - public Integer component5() { - return getParenetCode(); - } - - @Override - public String component6() { - return getTreeCode(); - } - - @Override - public Integer component7() { - return getOrder(); - } - - @Override - public Integer component8() { - return getLevel(); - } - - @Override - public String component9() { - return getBusinessValue(); - } - - @Override - public String component10() { - return getFilterItem(); - } - - @Override - public Long component11() { - return getCreatorUid(); - } - - @Override - public LocalDateTime component12() { - return getCreateTime(); - } - - @Override - public Long component13() { - return getOperatorUid(); - } - - @Override - public LocalDateTime component14() { - return getUpdateTime(); - } - - @Override - public Byte component15() { - return getDeleteFlag(); - } - - @Override - public Integer component16() { - return getIsEnable(); - } - - @Override - public String component17() { - return getAppId(); - } - - @Override - public Integer component18() { - return getNamespaceId(); - } - - @Override - public Long value1() { - return getId(); - } - - @Override - public String value2() { - return getTypeCode(); - } - - @Override - public Integer value3() { - return getCode(); - } - - @Override - public String value4() { - return getName(); - } - - @Override - public Integer value5() { - return getParenetCode(); - } - - @Override - public String value6() { - return getTreeCode(); - } - - @Override - public Integer value7() { - return getOrder(); - } - - @Override - public Integer value8() { - return getLevel(); - } - - @Override - public String value9() { - return getBusinessValue(); - } - - @Override - public String value10() { - return getFilterItem(); - } - - @Override - public Long value11() { - return getCreatorUid(); - } - - @Override - public LocalDateTime value12() { - return getCreateTime(); - } - - @Override - public Long value13() { - return getOperatorUid(); - } - - @Override - public LocalDateTime value14() { - return getUpdateTime(); - } - - @Override - public Byte value15() { - return getDeleteFlag(); - } - - @Override - public Integer value16() { - return getIsEnable(); - } - - @Override - public String value17() { - return getAppId(); - } - - @Override - public Integer value18() { - return getNamespaceId(); - } - - @Override - public SysDicRecord value1(Long value) { - setId(value); - return this; - } - - @Override - public SysDicRecord value2(String value) { - setTypeCode(value); - return this; - } - - @Override - public SysDicRecord value3(Integer value) { - setCode(value); - return this; - } - - @Override - public SysDicRecord value4(String value) { - setName(value); - return this; - } - - @Override - public SysDicRecord value5(Integer value) { - setParenetCode(value); - return this; - } - - @Override - public SysDicRecord value6(String value) { - setTreeCode(value); - return this; - } - - @Override - public SysDicRecord value7(Integer value) { - setOrder(value); - return this; - } - - @Override - public SysDicRecord value8(Integer value) { - setLevel(value); - return this; - } - - @Override - public SysDicRecord value9(String value) { - setBusinessValue(value); - return this; - } - - @Override - public SysDicRecord value10(String value) { - setFilterItem(value); - return this; - } - - @Override - public SysDicRecord value11(Long value) { - setCreatorUid(value); - return this; - } - - @Override - public SysDicRecord value12(LocalDateTime value) { - setCreateTime(value); - return this; - } - - @Override - public SysDicRecord value13(Long value) { - setOperatorUid(value); - return this; - } - - @Override - public SysDicRecord value14(LocalDateTime value) { - setUpdateTime(value); - return this; - } - - @Override - public SysDicRecord value15(Byte value) { - setDeleteFlag(value); - return this; - } - - @Override - public SysDicRecord value16(Integer value) { - setIsEnable(value); - return this; - } - - @Override - public SysDicRecord value17(String value) { - setAppId(value); - return this; - } - - @Override - public SysDicRecord value18(Integer value) { - setNamespaceId(value); - return this; - } - - @Override - public SysDicRecord values(Long value1, String value2, Integer value3, String value4, Integer value5, String value6, Integer value7, Integer value8, String value9, String value10, Long value11, LocalDateTime value12, Long value13, LocalDateTime value14, Byte value15, Integer value16, String value17, Integer value18) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - value15(value15); - value16(value16); - value17(value17); - value18(value18); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SysDicRecord - */ - public SysDicRecord() { - super(SysDic.SYS_DIC); - } - - /** - * Create a detached, initialised SysDicRecord - */ - public SysDicRecord(Long id, String typeCode, Integer code, String name, Integer parenetCode, String treeCode, Integer order, Integer level, String businessValue, String filterItem, Long creatorUid, LocalDateTime createTime, Long operatorUid, LocalDateTime updateTime, Byte deleteFlag, Integer isEnable, String appId, Integer namespaceId) { - super(SysDic.SYS_DIC); - - setId(id); - setTypeCode(typeCode); - setCode(code); - setName(name); - setParenetCode(parenetCode); - setTreeCode(treeCode); - setOrder(order); - setLevel(level); - setBusinessValue(businessValue); - setFilterItem(filterItem); - setCreatorUid(creatorUid); - setCreateTime(createTime); - setOperatorUid(operatorUid); - setUpdateTime(updateTime); - setDeleteFlag(deleteFlag); - setIsEnable(isEnable); - setAppId(appId); - setNamespaceId(namespaceId); - } -} diff --git a/src/main/java/com/darkness/pojo/entity/tables/records/SysDicTypeRecord.java b/src/main/java/com/darkness/pojo/entity/tables/records/SysDicTypeRecord.java deleted file mode 100644 index f55ec34..0000000 --- a/src/main/java/com/darkness/pojo/entity/tables/records/SysDicTypeRecord.java +++ /dev/null @@ -1,484 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package com.darkness.pojo.entity.tables.records; - - -import com.darkness.pojo.entity.tables.SysDicType; - -import java.time.LocalDateTime; - -import javax.validation.constraints.Size; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record11; -import org.jooq.Row11; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * 字典类型表 - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SysDicTypeRecord extends UpdatableRecordImpl implements Record11 { - - private static final long serialVersionUID = 1L; - - /** - * Setter for darkness.sys_dic_type.id. 主键 - */ - public void setId(Long value) { - set(0, value); - } - - /** - * Getter for darkness.sys_dic_type.id. 主键 - */ - public Long getId() { - return (Long) get(0); - } - - /** - * Setter for darkness.sys_dic_type.type_code. 类型编码 - */ - public void setTypeCode(String value) { - set(1, value); - } - - /** - * Getter for darkness.sys_dic_type.type_code. 类型编码 - */ - @Size(max = 50) - public String getTypeCode() { - return (String) get(1); - } - - /** - * Setter for darkness.sys_dic_type.type_name. 名称 - */ - public void setTypeName(String value) { - set(2, value); - } - - /** - * Getter for darkness.sys_dic_type.type_name. 名称 - */ - @Size(max = 20) - public String getTypeName() { - return (String) get(2); - } - - /** - * Setter for darkness.sys_dic_type.order. 排序 - */ - public void setOrder(Integer value) { - set(3, value); - } - - /** - * Getter for darkness.sys_dic_type.order. 排序 - */ - public Integer getOrder() { - return (Integer) get(3); - } - - /** - * Setter for darkness.sys_dic_type.creator_uid. 创建者用户id - */ - public void setCreatorUid(Long value) { - set(4, value); - } - - /** - * Getter for darkness.sys_dic_type.creator_uid. 创建者用户id - */ - public Long getCreatorUid() { - return (Long) get(4); - } - - /** - * Setter for darkness.sys_dic_type.create_time. 记录创建时间 - */ - public void setCreateTime(LocalDateTime value) { - set(5, value); - } - - /** - * Getter for darkness.sys_dic_type.create_time. 记录创建时间 - */ - public LocalDateTime getCreateTime() { - return (LocalDateTime) get(5); - } - - /** - * Setter for darkness.sys_dic_type.operator_uid. 更新人用户id - */ - public void setOperatorUid(Long value) { - set(6, value); - } - - /** - * Getter for darkness.sys_dic_type.operator_uid. 更新人用户id - */ - public Long getOperatorUid() { - return (Long) get(6); - } - - /** - * Setter for darkness.sys_dic_type.update_time. 记录更新时间 - */ - public void setUpdateTime(LocalDateTime value) { - set(7, value); - } - - /** - * Getter for darkness.sys_dic_type.update_time. 记录更新时间 - */ - public LocalDateTime getUpdateTime() { - return (LocalDateTime) get(7); - } - - /** - * Setter for darkness.sys_dic_type.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public void setDeleteFlag(Byte value) { - set(8, value); - } - - /** - * Getter for darkness.sys_dic_type.delete_flag. 是否删除标识位(0未删除,1已删除) - */ - public Byte getDeleteFlag() { - return (Byte) get(8); - } - - /** - * Setter for darkness.sys_dic_type.app_id. 多应用的应用id - */ - public void setAppId(String value) { - set(9, value); - } - - /** - * Getter for darkness.sys_dic_type.app_id. 多应用的应用id - */ - @Size(max = 255) - public String getAppId() { - return (String) get(9); - } - - /** - * Setter for darkness.sys_dic_type.namespace_id. 域空间id - */ - public void setNamespaceId(Integer value) { - set(10, value); - } - - /** - * Getter for darkness.sys_dic_type.namespace_id. 域空间id - */ - public Integer getNamespaceId() { - return (Integer) get(10); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record11 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } - - @Override - public Row11 valuesRow() { - return (Row11) super.valuesRow(); - } - - @Override - public Field field1() { - return SysDicType.SYS_DIC_TYPE.ID; - } - - @Override - public Field field2() { - return SysDicType.SYS_DIC_TYPE.TYPE_CODE; - } - - @Override - public Field field3() { - return SysDicType.SYS_DIC_TYPE.TYPE_NAME; - } - - @Override - public Field field4() { - return SysDicType.SYS_DIC_TYPE.ORDER; - } - - @Override - public Field field5() { - return SysDicType.SYS_DIC_TYPE.CREATOR_UID; - } - - @Override - public Field field6() { - return SysDicType.SYS_DIC_TYPE.CREATE_TIME; - } - - @Override - public Field field7() { - return SysDicType.SYS_DIC_TYPE.OPERATOR_UID; - } - - @Override - public Field field8() { - return SysDicType.SYS_DIC_TYPE.UPDATE_TIME; - } - - @Override - public Field field9() { - return SysDicType.SYS_DIC_TYPE.DELETE_FLAG; - } - - @Override - public Field field10() { - return SysDicType.SYS_DIC_TYPE.APP_ID; - } - - @Override - public Field field11() { - return SysDicType.SYS_DIC_TYPE.NAMESPACE_ID; - } - - @Override - public Long component1() { - return getId(); - } - - @Override - public String component2() { - return getTypeCode(); - } - - @Override - public String component3() { - return getTypeName(); - } - - @Override - public Integer component4() { - return getOrder(); - } - - @Override - public Long component5() { - return getCreatorUid(); - } - - @Override - public LocalDateTime component6() { - return getCreateTime(); - } - - @Override - public Long component7() { - return getOperatorUid(); - } - - @Override - public LocalDateTime component8() { - return getUpdateTime(); - } - - @Override - public Byte component9() { - return getDeleteFlag(); - } - - @Override - public String component10() { - return getAppId(); - } - - @Override - public Integer component11() { - return getNamespaceId(); - } - - @Override - public Long value1() { - return getId(); - } - - @Override - public String value2() { - return getTypeCode(); - } - - @Override - public String value3() { - return getTypeName(); - } - - @Override - public Integer value4() { - return getOrder(); - } - - @Override - public Long value5() { - return getCreatorUid(); - } - - @Override - public LocalDateTime value6() { - return getCreateTime(); - } - - @Override - public Long value7() { - return getOperatorUid(); - } - - @Override - public LocalDateTime value8() { - return getUpdateTime(); - } - - @Override - public Byte value9() { - return getDeleteFlag(); - } - - @Override - public String value10() { - return getAppId(); - } - - @Override - public Integer value11() { - return getNamespaceId(); - } - - @Override - public SysDicTypeRecord value1(Long value) { - setId(value); - return this; - } - - @Override - public SysDicTypeRecord value2(String value) { - setTypeCode(value); - return this; - } - - @Override - public SysDicTypeRecord value3(String value) { - setTypeName(value); - return this; - } - - @Override - public SysDicTypeRecord value4(Integer value) { - setOrder(value); - return this; - } - - @Override - public SysDicTypeRecord value5(Long value) { - setCreatorUid(value); - return this; - } - - @Override - public SysDicTypeRecord value6(LocalDateTime value) { - setCreateTime(value); - return this; - } - - @Override - public SysDicTypeRecord value7(Long value) { - setOperatorUid(value); - return this; - } - - @Override - public SysDicTypeRecord value8(LocalDateTime value) { - setUpdateTime(value); - return this; - } - - @Override - public SysDicTypeRecord value9(Byte value) { - setDeleteFlag(value); - return this; - } - - @Override - public SysDicTypeRecord value10(String value) { - setAppId(value); - return this; - } - - @Override - public SysDicTypeRecord value11(Integer value) { - setNamespaceId(value); - return this; - } - - @Override - public SysDicTypeRecord values(Long value1, String value2, String value3, Integer value4, Long value5, LocalDateTime value6, Long value7, LocalDateTime value8, Byte value9, String value10, Integer value11) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - return this; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SysDicTypeRecord - */ - public SysDicTypeRecord() { - super(SysDicType.SYS_DIC_TYPE); - } - - /** - * Create a detached, initialised SysDicTypeRecord - */ - public SysDicTypeRecord(Long id, String typeCode, String typeName, Integer order, Long creatorUid, LocalDateTime createTime, Long operatorUid, LocalDateTime updateTime, Byte deleteFlag, String appId, Integer namespaceId) { - super(SysDicType.SYS_DIC_TYPE); - - setId(id); - setTypeCode(typeCode); - setTypeName(typeName); - setOrder(order); - setCreatorUid(creatorUid); - setCreateTime(createTime); - setOperatorUid(operatorUid); - setUpdateTime(updateTime); - setDeleteFlag(deleteFlag); - setAppId(appId); - setNamespaceId(namespaceId); - } -}