cn.vertxup.erp.domain.tables.RCompanyCustomer 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.Keys;
import cn.vertxup.erp.domain.tables.records.RCompanyCustomerRecord;
import org.jooq.*;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class RCompanyCustomer extends TableImpl {
/**
* The reference instance of DB_ETERNAL.R_COMPANY_CUSTOMER
*/
public static final RCompanyCustomer R_COMPANY_CUSTOMER = new RCompanyCustomer();
private static final long serialVersionUID = 1L;
/**
* The column DB_ETERNAL.R_COMPANY_CUSTOMER.COMPANY_ID
.
* 「companyId」- 企业的ID
*/
public final TableField COMPANY_ID = createField(DSL.name("COMPANY_ID"), SQLDataType.VARCHAR(36).nullable(false), this, "「companyId」- 企业的ID");
/**
* The column DB_ETERNAL.R_COMPANY_CUSTOMER.CUSTOMER_ID
.
* 「customerId」- 客户信息的ID
*/
public final TableField CUSTOMER_ID = createField(DSL.name("CUSTOMER_ID"), SQLDataType.VARCHAR(36).nullable(false), this, "「customerId」- 客户信息的ID");
/**
* The column DB_ETERNAL.R_COMPANY_CUSTOMER.COMMENT
. 「comment」-
* 关系备注
*/
public final TableField COMMENT = createField(DSL.name("COMMENT"), SQLDataType.CLOB, this, "「comment」- 关系备注");
private RCompanyCustomer(Name alias, Table aliased) {
this(alias, aliased, null);
}
private RCompanyCustomer(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased DB_ETERNAL.R_COMPANY_CUSTOMER
table
* reference
*/
public RCompanyCustomer(String alias) {
this(DSL.name(alias), R_COMPANY_CUSTOMER);
}
/**
* Create an aliased DB_ETERNAL.R_COMPANY_CUSTOMER
table
* reference
*/
public RCompanyCustomer(Name alias) {
this(alias, R_COMPANY_CUSTOMER);
}
/**
* Create a DB_ETERNAL.R_COMPANY_CUSTOMER
table reference
*/
public RCompanyCustomer() {
this(DSL.name("R_COMPANY_CUSTOMER"), null);
}
public RCompanyCustomer(Table child, ForeignKey key) {
super(child, key, R_COMPANY_CUSTOMER);
}
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return RCompanyCustomerRecord.class;
}
@Override
public Schema getSchema() {
return aliased() ? null : Db.DB_ETERNAL;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.KEY_R_COMPANY_CUSTOMER_PRIMARY;
}
@Override
public RCompanyCustomer as(String alias) {
return new RCompanyCustomer(DSL.name(alias), this);
}
@Override
public RCompanyCustomer as(Name alias) {
return new RCompanyCustomer(alias, this);
}
/**
* Rename this table
*/
@Override
public RCompanyCustomer rename(String name) {
return new RCompanyCustomer(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public RCompanyCustomer rename(Name name) {
return new RCompanyCustomer(name, null);
}
// -------------------------------------------------------------------------
// Row3 type methods
// -------------------------------------------------------------------------
@Override
public Row3 fieldsRow() {
return (Row3) super.fieldsRow();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy