cn.vertxup.erp.domain.tables.ETeam Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.erp.domain.tables;
import cn.vertxup.erp.domain.Db;
import cn.vertxup.erp.domain.Indexes;
import cn.vertxup.erp.domain.Keys;
import cn.vertxup.erp.domain.tables.records.ETeamRecord;
import org.jooq.*;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.List;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class ETeam extends TableImpl {
/**
* The reference instance of DB_ETERNAL.E_TEAM
*/
public static final ETeam E_TEAM = new ETeam();
private static final long serialVersionUID = 1L;
/**
* The column DB_ETERNAL.E_TEAM.KEY
. 「key」- 组主键
*/
public final TableField KEY = createField(DSL.name("KEY"), SQLDataType.VARCHAR(36).nullable(false), this, "「key」- 组主键");
/**
* The column DB_ETERNAL.E_TEAM.NAME
. 「name」- 组名称
*/
public final TableField NAME = createField(DSL.name("NAME"), SQLDataType.VARCHAR(255), this, "「name」- 组名称");
/**
* The column DB_ETERNAL.E_TEAM.CODE
. 「code」- 组编号
*/
public final TableField CODE = createField(DSL.name("CODE"), SQLDataType.VARCHAR(255), this, "「code」- 组编号");
/**
* The column DB_ETERNAL.E_TEAM.LEADER_ID
. 「leaderId」- 组长
*/
public final TableField LEADER_ID = createField(DSL.name("LEADER_ID"), SQLDataType.VARCHAR(36), this, "「leaderId」- 组长");
/**
* The column DB_ETERNAL.E_TEAM.LEADER_NAME
. 「leaderName」- 组长姓名
*/
public final TableField LEADER_NAME = createField(DSL.name("LEADER_NAME"), SQLDataType.VARCHAR(36), this, "「leaderName」- 组长姓名");
/**
* The column DB_ETERNAL.E_TEAM.DEPT_ID
. 「deptId」- 所属部门
*/
public final TableField DEPT_ID = createField(DSL.name("DEPT_ID"), SQLDataType.VARCHAR(36), this, "「deptId」- 所属部门");
/**
* The column DB_ETERNAL.E_TEAM.TEAM_ID
. 「teamId」- 父组ID
*/
public final TableField TEAM_ID = createField(DSL.name("TEAM_ID"), SQLDataType.VARCHAR(36), this, "「teamId」- 父组ID");
/**
* The column DB_ETERNAL.E_TEAM.COMMENT
. 「comment」- 组备注
*/
public final TableField COMMENT = createField(DSL.name("COMMENT"), SQLDataType.CLOB, this, "「comment」- 组备注");
/**
* The column DB_ETERNAL.E_TEAM.METADATA
. 「metadata」- 附加配置
*/
public final TableField METADATA = createField(DSL.name("METADATA"), SQLDataType.CLOB, this, "「metadata」- 附加配置");
/**
* The column DB_ETERNAL.E_TEAM.ACTIVE
. 「active」- 是否启用
*/
public final TableField ACTIVE = createField(DSL.name("ACTIVE"), SQLDataType.BIT, this, "「active」- 是否启用");
/**
* The column DB_ETERNAL.E_TEAM.SIGMA
. 「sigma」- 统一标识
*/
public final TableField SIGMA = createField(DSL.name("SIGMA"), SQLDataType.VARCHAR(32), this, "「sigma」- 统一标识");
/**
* The column DB_ETERNAL.E_TEAM.LANGUAGE
. 「language」- 使用的语言
*/
public final TableField LANGUAGE = createField(DSL.name("LANGUAGE"), SQLDataType.VARCHAR(8), this, "「language」- 使用的语言");
/**
* The column DB_ETERNAL.E_TEAM.CREATED_AT
. 「createdAt」- 创建时间
*/
public final TableField CREATED_AT = createField(DSL.name("CREATED_AT"), SQLDataType.LOCALDATETIME(0), this, "「createdAt」- 创建时间");
/**
* The column DB_ETERNAL.E_TEAM.CREATED_BY
. 「createdBy」- 创建人
*/
public final TableField CREATED_BY = createField(DSL.name("CREATED_BY"), SQLDataType.VARCHAR(36), this, "「createdBy」- 创建人");
/**
* The column DB_ETERNAL.E_TEAM.UPDATED_AT
. 「updatedAt」- 更新时间
*/
public final TableField UPDATED_AT = createField(DSL.name("UPDATED_AT"), SQLDataType.LOCALDATETIME(0), this, "「updatedAt」- 更新时间");
/**
* The column DB_ETERNAL.E_TEAM.UPDATED_BY
. 「updatedBy」- 更新人
*/
public final TableField UPDATED_BY = createField(DSL.name("UPDATED_BY"), SQLDataType.VARCHAR(36), this, "「updatedBy」- 更新人");
private ETeam(Name alias, Table aliased) {
this(alias, aliased, null);
}
private ETeam(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased DB_ETERNAL.E_TEAM
table reference
*/
public ETeam(String alias) {
this(DSL.name(alias), E_TEAM);
}
/**
* Create an aliased DB_ETERNAL.E_TEAM
table reference
*/
public ETeam(Name alias) {
this(alias, E_TEAM);
}
/**
* Create a DB_ETERNAL.E_TEAM
table reference
*/
public ETeam() {
this(DSL.name("E_TEAM"), null);
}
public ETeam(Table child, ForeignKey key) {
super(child, key, E_TEAM);
}
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return ETeamRecord.class;
}
@Override
public Schema getSchema() {
return aliased() ? null : Db.DB_ETERNAL;
}
@Override
public List getIndexes() {
return Arrays.asList(Indexes.E_TEAM_IDX_E_TEAM_SIGMA, Indexes.E_TEAM_IDX_E_TEAM_SIGMA_ACTIVE);
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_E_TEAM_PRIMARY;
}
@Override
public List> getUniqueKeys() {
return Arrays.asList(Keys.KEY_E_TEAM_NAME, Keys.KEY_E_TEAM_CODE);
}
@Override
public ETeam as(String alias) {
return new ETeam(DSL.name(alias), this);
}
@Override
public ETeam as(Name alias) {
return new ETeam(alias, this);
}
/**
* Rename this table
*/
@Override
public ETeam rename(String name) {
return new ETeam(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ETeam rename(Name name) {
return new ETeam(name, null);
}
// -------------------------------------------------------------------------
// Row16 type methods
// -------------------------------------------------------------------------
@Override
public Row16 fieldsRow() {
return (Row16) super.fieldsRow();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy