cn.vertxup.erp.domain.tables.EBrand 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.EBrandRecord;
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 EBrand extends TableImpl {
/**
* The reference instance of DB_ETERNAL.E_BRAND
*/
public static final EBrand E_BRAND = new EBrand();
private static final long serialVersionUID = 1L;
/**
* The column DB_ETERNAL.E_BRAND.KEY
. 「key」- 品牌ID
*/
public final TableField KEY = createField(DSL.name("KEY"), SQLDataType.VARCHAR(36).nullable(false), this, "「key」- 品牌ID");
/**
* The column DB_ETERNAL.E_BRAND.CODE
. 「code」- 品牌编码
*/
public final TableField CODE = createField(DSL.name("CODE"), SQLDataType.VARCHAR(255), this, "「code」- 品牌编码");
/**
* The column DB_ETERNAL.E_BRAND.NAME
. 「name」- 品牌名称
*/
public final TableField NAME = createField(DSL.name("NAME"), SQLDataType.VARCHAR(255), this, "「name」- 品牌名称");
/**
* The column DB_ETERNAL.E_BRAND.ALIAS
. 「alias」- 品牌别名
*/
public final TableField ALIAS = createField(DSL.name("ALIAS"), SQLDataType.VARCHAR(255), this, "「alias」- 品牌别名");
/**
* The column DB_ETERNAL.E_BRAND.COMPANY_NAME
. 「companyName」-
* 品牌公司名
*/
public final TableField COMPANY_NAME = createField(DSL.name("COMPANY_NAME"), SQLDataType.VARCHAR(128), this, "「companyName」- 品牌公司名");
/**
* The column DB_ETERNAL.E_BRAND.CATEGORY_CODE
. 「categoryCode」-
* 类别代码
*/
public final TableField CATEGORY_CODE = createField(DSL.name("CATEGORY_CODE"), SQLDataType.VARCHAR(16), this, "「categoryCode」- 类别代码");
/**
* The column DB_ETERNAL.E_BRAND.CATEGORY_NAME
. 「categoryName」-
* 类别名称
*/
public final TableField CATEGORY_NAME = createField(DSL.name("CATEGORY_NAME"), SQLDataType.VARCHAR(128), this, "「categoryName」- 类别名称");
/**
* The column DB_ETERNAL.E_BRAND.AREA
. 「area」-
* GB/T2659-2000国际标准区域码
*/
public final TableField AREA = createField(DSL.name("AREA"), SQLDataType.INTEGER, this, "「area」- GB/T2659-2000国际标准区域码");
/**
* The column DB_ETERNAL.E_BRAND.AREA_NAME
. 「areaName」- 区域名称
*/
public final TableField AREA_NAME = createField(DSL.name("AREA_NAME"), SQLDataType.VARCHAR(128), this, "「areaName」- 区域名称");
/**
* The column DB_ETERNAL.E_BRAND.AREA_CATEGORY
. 「areaCategory」-
* 区域类别码
*/
public final TableField AREA_CATEGORY = createField(DSL.name("AREA_CATEGORY"), SQLDataType.VARCHAR(16), this, "「areaCategory」- 区域类别码");
/**
* The column DB_ETERNAL.E_BRAND.METADATA
. 「metadata」- 附加配置
*/
public final TableField METADATA = createField(DSL.name("METADATA"), SQLDataType.CLOB, this, "「metadata」- 附加配置");
/**
* The column DB_ETERNAL.E_BRAND.ACTIVE
. 「active」- 是否启用
*/
public final TableField ACTIVE = createField(DSL.name("ACTIVE"), SQLDataType.BIT, this, "「active」- 是否启用");
/**
* The column DB_ETERNAL.E_BRAND.SIGMA
. 「sigma」- 统一标识(公司所属应用)
*/
public final TableField SIGMA = createField(DSL.name("SIGMA"), SQLDataType.VARCHAR(32), this, "「sigma」- 统一标识(公司所属应用)");
/**
* The column DB_ETERNAL.E_BRAND.LANGUAGE
. 「language」- 使用的语言
*/
public final TableField LANGUAGE = createField(DSL.name("LANGUAGE"), SQLDataType.VARCHAR(8), this, "「language」- 使用的语言");
/**
* The column DB_ETERNAL.E_BRAND.CREATED_AT
. 「createdAt」- 创建时间
*/
public final TableField CREATED_AT = createField(DSL.name("CREATED_AT"), SQLDataType.LOCALDATETIME(0), this, "「createdAt」- 创建时间");
/**
* The column DB_ETERNAL.E_BRAND.CREATED_BY
. 「createdBy」- 创建人
*/
public final TableField CREATED_BY = createField(DSL.name("CREATED_BY"), SQLDataType.VARCHAR(36), this, "「createdBy」- 创建人");
/**
* The column DB_ETERNAL.E_BRAND.UPDATED_AT
. 「updatedAt」- 更新时间
*/
public final TableField UPDATED_AT = createField(DSL.name("UPDATED_AT"), SQLDataType.LOCALDATETIME(0), this, "「updatedAt」- 更新时间");
/**
* The column DB_ETERNAL.E_BRAND.UPDATED_BY
. 「updatedBy」- 更新人
*/
public final TableField UPDATED_BY = createField(DSL.name("UPDATED_BY"), SQLDataType.VARCHAR(36), this, "「updatedBy」- 更新人");
private EBrand(Name alias, Table aliased) {
this(alias, aliased, null);
}
private EBrand(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased DB_ETERNAL.E_BRAND
table reference
*/
public EBrand(String alias) {
this(DSL.name(alias), E_BRAND);
}
/**
* Create an aliased DB_ETERNAL.E_BRAND
table reference
*/
public EBrand(Name alias) {
this(alias, E_BRAND);
}
/**
* Create a DB_ETERNAL.E_BRAND
table reference
*/
public EBrand() {
this(DSL.name("E_BRAND"), null);
}
public EBrand(Table child, ForeignKey key) {
super(child, key, E_BRAND);
}
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return EBrandRecord.class;
}
@Override
public Schema getSchema() {
return aliased() ? null : Db.DB_ETERNAL;
}
@Override
public List getIndexes() {
return Arrays.asList(Indexes.E_BRAND_IDX_E_BRAND_SIGMA);
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_E_BRAND_PRIMARY;
}
@Override
public List> getUniqueKeys() {
return Arrays.asList(Keys.KEY_E_BRAND_CODE);
}
@Override
public EBrand as(String alias) {
return new EBrand(DSL.name(alias), this);
}
@Override
public EBrand as(Name alias) {
return new EBrand(alias, this);
}
/**
* Rename this table
*/
@Override
public EBrand rename(String name) {
return new EBrand(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public EBrand rename(Name name) {
return new EBrand(name, null);
}
// -------------------------------------------------------------------------
// Row18 type methods
// -------------------------------------------------------------------------
@Override
public Row18 fieldsRow() {
return (Row18) super.fieldsRow();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy