All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.vertxup.erp.domain.tables.RTeamEmployee Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
/*
 * 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.RTeamEmployeeRecord;
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 RTeamEmployee extends TableImpl {

    /**
     * The reference instance of DB_ETERNAL.R_TEAM_EMPLOYEE
     */
    public static final RTeamEmployee R_TEAM_EMPLOYEE = new RTeamEmployee();
    private static final long serialVersionUID = 1L;
    /**
     * The column DB_ETERNAL.R_TEAM_EMPLOYEE.TEAM_ID. 「teamId」-
     * 组的ID
     */
    public final TableField TEAM_ID = createField(DSL.name("TEAM_ID"), SQLDataType.VARCHAR(36).nullable(false), this, "「teamId」- 组的ID");
    /**
     * The column DB_ETERNAL.R_TEAM_EMPLOYEE.EMPLOYEE_ID.
     * 「employeeId」- 员工ID
     */
    public final TableField EMPLOYEE_ID = createField(DSL.name("EMPLOYEE_ID"), SQLDataType.VARCHAR(36).nullable(false), this, "「employeeId」- 员工ID");
    /**
     * The column DB_ETERNAL.R_TEAM_EMPLOYEE.COMMENT. 「comment」-
     * 关系备注
     */
    public final TableField COMMENT = createField(DSL.name("COMMENT"), SQLDataType.CLOB, this, "「comment」- 关系备注");

    private RTeamEmployee(Name alias, Table aliased) {
        this(alias, aliased, null);
    }

    private RTeamEmployee(Name alias, Table aliased, Field[] parameters) {
        super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
    }

    /**
     * Create an aliased DB_ETERNAL.R_TEAM_EMPLOYEE table reference
     */
    public RTeamEmployee(String alias) {
        this(DSL.name(alias), R_TEAM_EMPLOYEE);
    }

    /**
     * Create an aliased DB_ETERNAL.R_TEAM_EMPLOYEE table reference
     */
    public RTeamEmployee(Name alias) {
        this(alias, R_TEAM_EMPLOYEE);
    }

    /**
     * Create a DB_ETERNAL.R_TEAM_EMPLOYEE table reference
     */
    public RTeamEmployee() {
        this(DSL.name("R_TEAM_EMPLOYEE"), null);
    }

    public  RTeamEmployee(Table child, ForeignKey key) {
        super(child, key, R_TEAM_EMPLOYEE);
    }

    /**
     * The class holding records for this type
     */
    @Override
    public Class getRecordType() {
        return RTeamEmployeeRecord.class;
    }

    @Override
    public Schema getSchema() {
        return aliased() ? null : Db.DB_ETERNAL;
    }

    @Override
    public UniqueKey getPrimaryKey() {
        return Keys.KEY_R_TEAM_EMPLOYEE_PRIMARY;
    }

    @Override
    public RTeamEmployee as(String alias) {
        return new RTeamEmployee(DSL.name(alias), this);
    }

    @Override
    public RTeamEmployee as(Name alias) {
        return new RTeamEmployee(alias, this);
    }

    /**
     * Rename this table
     */
    @Override
    public RTeamEmployee rename(String name) {
        return new RTeamEmployee(DSL.name(name), null);
    }

    /**
     * Rename this table
     */
    @Override
    public RTeamEmployee rename(Name name) {
        return new RTeamEmployee(name, null);
    }

    // -------------------------------------------------------------------------
    // Row3 type methods
    // -------------------------------------------------------------------------

    @Override
    public Row3 fieldsRow() {
        return (Row3) super.fieldsRow();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy