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

cn.vertxup.erp.domain.tables.EIdentity 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.EIdentityRecord;
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 EIdentity extends TableImpl {

    /**
     * The reference instance of DB_ETERNAL.E_IDENTITY
     */
    public static final EIdentity E_IDENTITY = new EIdentity();
    private static final long serialVersionUID = 1L;
    /**
     * The column DB_ETERNAL.E_IDENTITY.KEY. 「key」- 身份主键
     */
    public final TableField KEY = createField(DSL.name("KEY"), SQLDataType.VARCHAR(36).nullable(false), this, "「key」- 身份主键");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CODE. 「code」- 系统编号
     */
    public final TableField CODE = createField(DSL.name("CODE"), SQLDataType.VARCHAR(255), this, "「code」- 系统编号");
    /**
     * The column DB_ETERNAL.E_IDENTITY.TYPE. 「type」- 身份类型/档案类型
     */
    public final TableField TYPE = createField(DSL.name("TYPE"), SQLDataType.VARCHAR(36), this, "「type」- 身份类型/档案类型");
    /**
     * The column DB_ETERNAL.E_IDENTITY.STATUS. 「status」- 档案状态
     */
    public final TableField STATUS = createField(DSL.name("STATUS"), SQLDataType.VARCHAR(255), this, "「status」- 档案状态");
    /**
     * The column DB_ETERNAL.E_IDENTITY.COUNTRY. 「country」- 国籍
     */
    public final TableField COUNTRY = createField(DSL.name("COUNTRY"), SQLDataType.VARCHAR(20), this, "「country」- 国籍");
    /**
     * The column DB_ETERNAL.E_IDENTITY.NATIVE_PLACE.
     * 「nativePlace」- 籍贯
     */
    public final TableField NATIVE_PLACE = createField(DSL.name("NATIVE_PLACE"), SQLDataType.VARCHAR(255), this, "「nativePlace」- 籍贯");
    /**
     * The column DB_ETERNAL.E_IDENTITY.NATION. 「nation」- 民族
     */
    public final TableField NATION = createField(DSL.name("NATION"), SQLDataType.VARCHAR(32), this, "「nation」- 民族");
    /**
     * The column DB_ETERNAL.E_IDENTITY.ADDRESS. 「address」- 居住地址
     */
    public final TableField ADDRESS = createField(DSL.name("ADDRESS"), SQLDataType.CLOB, this, "「address」- 居住地址");
    /**
     * The column DB_ETERNAL.E_IDENTITY.REALNAME. 「realname」- 真实姓名
     */
    public final TableField REALNAME = createField(DSL.name("REALNAME"), SQLDataType.VARCHAR(255), this, "「realname」- 真实姓名");
    /**
     * The column DB_ETERNAL.E_IDENTITY.BIRTHDAY. 「birthday」- 生日
     */
    public final TableField BIRTHDAY = createField(DSL.name("BIRTHDAY"), SQLDataType.LOCALDATETIME(0), this, "「birthday」- 生日");
    /**
     * The column DB_ETERNAL.E_IDENTITY.DRIVER_LICENSE.
     * 「driverLicense」- 驾驶证
     */
    public final TableField DRIVER_LICENSE = createField(DSL.name("DRIVER_LICENSE"), SQLDataType.VARCHAR(255), this, "「driverLicense」- 驾驶证");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CAR_PLATE. 「carPlate」- 常用车牌
     */
    public final TableField CAR_PLATE = createField(DSL.name("CAR_PLATE"), SQLDataType.VARCHAR(255), this, "「carPlate」- 常用车牌");
    /**
     * The column DB_ETERNAL.E_IDENTITY.PASSPORT. 「passport」- 护照
     */
    public final TableField PASSPORT = createField(DSL.name("PASSPORT"), SQLDataType.VARCHAR(255), this, "「passport」- 护照");
    /**
     * The column DB_ETERNAL.E_IDENTITY.GENDER. 「gender」- 性别
     */
    public final TableField GENDER = createField(DSL.name("GENDER"), SQLDataType.BIT, this, "「gender」- 性别");
    /**
     * The column DB_ETERNAL.E_IDENTITY.MARITAL. 「marital」- 婚姻状况
     */
    public final TableField MARITAL = createField(DSL.name("MARITAL"), SQLDataType.VARCHAR(32), this, "「marital」- 婚姻状况");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CONTACT_MOBILE.
     * 「contactMobile」- 联系手机
     */
    public final TableField CONTACT_MOBILE = createField(DSL.name("CONTACT_MOBILE"), SQLDataType.VARCHAR(20), this, "「contactMobile」- 联系手机");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CONTACT_PHONE.
     * 「contactPhone」- 座机
     */
    public final TableField CONTACT_PHONE = createField(DSL.name("CONTACT_PHONE"), SQLDataType.VARCHAR(20), this, "「contactPhone」- 座机");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CONTACT_ADDRESS.
     * 「contactAddress」- 联系地址
     */
    public final TableField CONTACT_ADDRESS = createField(DSL.name("CONTACT_ADDRESS"), SQLDataType.CLOB, this, "「contactAddress」- 联系地址");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CONTACT_EMAIL.
     * 「contactEmail」- 联系Email
     */
    public final TableField CONTACT_EMAIL = createField(DSL.name("CONTACT_EMAIL"), SQLDataType.VARCHAR(255), this, "「contactEmail」- 联系Email");
    /**
     * The column DB_ETERNAL.E_IDENTITY.URGENT_NAME. 「urgentName」-
     * 紧急联系人
     */
    public final TableField URGENT_NAME = createField(DSL.name("URGENT_NAME"), SQLDataType.VARCHAR(255), this, "「urgentName」- 紧急联系人");
    /**
     * The column DB_ETERNAL.E_IDENTITY.URGENT_PHONE.
     * 「urgentPhone」- 紧急联系电话
     */
    public final TableField URGENT_PHONE = createField(DSL.name("URGENT_PHONE"), SQLDataType.VARCHAR(255), this, "「urgentPhone」- 紧急联系电话");
    /**
     * The column DB_ETERNAL.E_IDENTITY.EC_QQ. 「ecQq」- QQ号码
     */
    public final TableField EC_QQ = createField(DSL.name("EC_QQ"), SQLDataType.VARCHAR(64), this, "「ecQq」- QQ号码");
    /**
     * The column DB_ETERNAL.E_IDENTITY.EC_ALIPAY. 「ecAlipay」- 支付宝
     */
    public final TableField EC_ALIPAY = createField(DSL.name("EC_ALIPAY"), SQLDataType.VARCHAR(64), this, "「ecAlipay」- 支付宝");
    /**
     * The column DB_ETERNAL.E_IDENTITY.EC_WECHAT. 「ecWechat」- 微信
     */
    public final TableField EC_WECHAT = createField(DSL.name("EC_WECHAT"), SQLDataType.VARCHAR(64), this, "「ecWechat」- 微信");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_TYPE. 「idcType」- 证件类型
     */
    public final TableField IDC_TYPE = createField(DSL.name("IDC_TYPE"), SQLDataType.VARCHAR(36), this, "「idcType」- 证件类型");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_NUMBER. 「idcNumber」-
     * 证件号
     */
    public final TableField IDC_NUMBER = createField(DSL.name("IDC_NUMBER"), SQLDataType.VARCHAR(255), this, "「idcNumber」- 证件号");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_ADDRESS. 「idcAddress」-
     * 证件地址
     */
    public final TableField IDC_ADDRESS = createField(DSL.name("IDC_ADDRESS"), SQLDataType.CLOB, this, "「idcAddress」- 证件地址");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_EXPIRED_AT.
     * 「idcExpiredAt」- 证件过期时间
     */
    public final TableField IDC_EXPIRED_AT = createField(DSL.name("IDC_EXPIRED_AT"), SQLDataType.LOCALDATETIME(0), this, "「idcExpiredAt」- 证件过期时间");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_FRONT. 「idcFront」-
     * 证件正面附件
     */
    public final TableField IDC_FRONT = createField(DSL.name("IDC_FRONT"), SQLDataType.VARCHAR(36), this, "「idcFront」- 证件正面附件");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_BACK. 「idcBack」- 证件背面附件
     */
    public final TableField IDC_BACK = createField(DSL.name("IDC_BACK"), SQLDataType.VARCHAR(36), this, "「idcBack」- 证件背面附件");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_ISSUER. 「idcIssuer」-
     * 证件签发机构
     */
    public final TableField IDC_ISSUER = createField(DSL.name("IDC_ISSUER"), SQLDataType.VARCHAR(255), this, "「idcIssuer」- 证件签发机构");
    /**
     * The column DB_ETERNAL.E_IDENTITY.IDC_ISSUE_AT. 「idcIssueAt」-
     * 证件签发时间
     */
    public final TableField IDC_ISSUE_AT = createField(DSL.name("IDC_ISSUE_AT"), SQLDataType.LOCALDATETIME(0), this, "「idcIssueAt」- 证件签发时间");
    /**
     * The column DB_ETERNAL.E_IDENTITY.VERIFIED. 「verified」-
     * 是否验证、备案
     */
    public final TableField VERIFIED = createField(DSL.name("VERIFIED"), SQLDataType.BIT, this, "「verified」- 是否验证、备案");
    /**
     * The column DB_ETERNAL.E_IDENTITY.METADATA. 「metadata」- 附加配置
     */
    public final TableField METADATA = createField(DSL.name("METADATA"), SQLDataType.CLOB, this, "「metadata」- 附加配置");
    /**
     * The column DB_ETERNAL.E_IDENTITY.ACTIVE. 「active」- 是否启用
     */
    public final TableField ACTIVE = createField(DSL.name("ACTIVE"), SQLDataType.BIT, this, "「active」- 是否启用");
    /**
     * The column DB_ETERNAL.E_IDENTITY.SIGMA. 「sigma」- 统一标识
     */
    public final TableField SIGMA = createField(DSL.name("SIGMA"), SQLDataType.VARCHAR(32), this, "「sigma」- 统一标识");
    /**
     * The column DB_ETERNAL.E_IDENTITY.LANGUAGE. 「language」- 使用的语言
     */
    public final TableField LANGUAGE = createField(DSL.name("LANGUAGE"), SQLDataType.VARCHAR(8), this, "「language」- 使用的语言");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CREATED_AT. 「createdAt」-
     * 创建时间
     */
    public final TableField CREATED_AT = createField(DSL.name("CREATED_AT"), SQLDataType.LOCALDATETIME(0), this, "「createdAt」- 创建时间");
    /**
     * The column DB_ETERNAL.E_IDENTITY.CREATED_BY. 「createdBy」-
     * 创建人
     */
    public final TableField CREATED_BY = createField(DSL.name("CREATED_BY"), SQLDataType.VARCHAR(36), this, "「createdBy」- 创建人");
    /**
     * The column DB_ETERNAL.E_IDENTITY.UPDATED_AT. 「updatedAt」-
     * 更新时间
     */
    public final TableField UPDATED_AT = createField(DSL.name("UPDATED_AT"), SQLDataType.LOCALDATETIME(0), this, "「updatedAt」- 更新时间");
    /**
     * The column DB_ETERNAL.E_IDENTITY.UPDATED_BY. 「updatedBy」-
     * 更新人
     */
    public final TableField UPDATED_BY = createField(DSL.name("UPDATED_BY"), SQLDataType.VARCHAR(36), this, "「updatedBy」- 更新人");

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

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

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

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

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

    public  EIdentity(Table child, ForeignKey key) {
        super(child, key, E_IDENTITY);
    }

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

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

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

    @Override
    public List> getUniqueKeys() {
        return Arrays.asList(Keys.KEY_E_IDENTITY_TYPE);
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy