/*
 * This file is generated by jOOQ.
 */
package ervu_dashboard.ervu_dashboard.db_beans.total_registered;


import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Age;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Busyness;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.ChildMinor;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.DriverLicense;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.EducationLevel;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.MaritalStatus;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RegMilCat;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RemovedRegistry;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Subpoenas;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.AgeRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.BusynessRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.ChildMinorRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.DriverLicenseRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.EducationLevelRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.MaritalStatusRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.RegMilCatRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.RemovedRegistryRecord;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records.SubpoenasRecord;

import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;


/**
 * A class modelling foreign key relationships and constraints of tables in
 * total_registered.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {

    // -------------------------------------------------------------------------
    // UNIQUE and PRIMARY KEY definitions
    // -------------------------------------------------------------------------

    public static final UniqueKey<AgeRecord> PK_AGE = Internal.createUniqueKey(Age.AGE, DSL.name("pk_age"), new TableField[] { Age.AGE.ID_AGE }, true);
    public static final UniqueKey<BusynessRecord> PK_BUSYNESS = Internal.createUniqueKey(Busyness.BUSYNESS, DSL.name("pk_busyness"), new TableField[] { Busyness.BUSYNESS.ID_BUSYNESS }, true);
    public static final UniqueKey<ChildMinorRecord> PK_CHILD_MINOR = Internal.createUniqueKey(ChildMinor.CHILD_MINOR, DSL.name("pk_child_minor"), new TableField[] { ChildMinor.CHILD_MINOR.ID_CHILD_MINOR }, true);
    public static final UniqueKey<DriverLicenseRecord> PK_DRIVER_LICENSE = Internal.createUniqueKey(DriverLicense.DRIVER_LICENSE, DSL.name("pk_driver_license"), new TableField[] { DriverLicense.DRIVER_LICENSE.ID_DRIVER_LICENSE }, true);
    public static final UniqueKey<EducationLevelRecord> PK_EDUCATION_LEVEL = Internal.createUniqueKey(EducationLevel.EDUCATION_LEVEL, DSL.name("pk_education_level"), new TableField[] { EducationLevel.EDUCATION_LEVEL.ID_EDUCATION_LEVEL }, true);
    public static final UniqueKey<MaritalStatusRecord> PK_MARITAL_STATUS = Internal.createUniqueKey(MaritalStatus.MARITAL_STATUS, DSL.name("pk_marital_status"), new TableField[] { MaritalStatus.MARITAL_STATUS.ID_MARITAL_STATUS }, true);
    public static final UniqueKey<RegMilCatRecord> PK_REG_MIL_CAT = Internal.createUniqueKey(RegMilCat.REG_MIL_CAT, DSL.name("pk_reg_mil_cat"), new TableField[] { RegMilCat.REG_MIL_CAT.ID_REG_MIL_CAT }, true);
    public static final UniqueKey<RemovedRegistryRecord> REMOVED_REGISTRY_PKEY = Internal.createUniqueKey(RemovedRegistry.REMOVED_REGISTRY, DSL.name("removed_registry_pkey"), new TableField[] { RemovedRegistry.REMOVED_REGISTRY.ID_REMOVED_REGISTRY }, true);
    public static final UniqueKey<SubpoenasRecord> PK_SUBPOENA = Internal.createUniqueKey(Subpoenas.SUBPOENAS, DSL.name("pk_subpoena"), new TableField[] { Subpoenas.SUBPOENAS.ID_SUBPOENA }, true);

    // -------------------------------------------------------------------------
    // FOREIGN KEY definitions
    // -------------------------------------------------------------------------

    public static final ForeignKey<AgeRecord, PubRecruitmentRecord> AGE__AGE_FK1 = Internal.createForeignKey(Age.AGE, DSL.name("age_fk1"), new TableField[] { Age.AGE.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<BusynessRecord, PubRecruitmentRecord> BUSYNESS__BUSYNESS_FK1 = Internal.createForeignKey(Busyness.BUSYNESS, DSL.name("busyness_fk1"), new TableField[] { Busyness.BUSYNESS.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<ChildMinorRecord, PubRecruitmentRecord> CHILD_MINOR__CHILD_MINOR_FK1 = Internal.createForeignKey(ChildMinor.CHILD_MINOR, DSL.name("child_minor_fk1"), new TableField[] { ChildMinor.CHILD_MINOR.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<DriverLicenseRecord, PubRecruitmentRecord> DRIVER_LICENSE__DRIVER_LICENSE_FK1 = Internal.createForeignKey(DriverLicense.DRIVER_LICENSE, DSL.name("driver_license_fk1"), new TableField[] { DriverLicense.DRIVER_LICENSE.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<EducationLevelRecord, PubRecruitmentRecord> EDUCATION_LEVEL__EDUCATION_LEVEL_FK1 = Internal.createForeignKey(EducationLevel.EDUCATION_LEVEL, DSL.name("education_level_fk1"), new TableField[] { EducationLevel.EDUCATION_LEVEL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<MaritalStatusRecord, PubRecruitmentRecord> MARITAL_STATUS__MARITAL_STATUS_FK1 = Internal.createForeignKey(MaritalStatus.MARITAL_STATUS, DSL.name("marital_status_fk1"), new TableField[] { MaritalStatus.MARITAL_STATUS.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<RegMilCatRecord, PubRecruitmentRecord> REG_MIL_CAT__REG_MIL_CAT_FK1 = Internal.createForeignKey(RegMilCat.REG_MIL_CAT, DSL.name("reg_mil_cat_fk1"), new TableField[] { RegMilCat.REG_MIL_CAT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<RemovedRegistryRecord, PubRecruitmentRecord> REMOVED_REGISTRY__REMOVED_REGISTRY_FK1 = Internal.createForeignKey(RemovedRegistry.REMOVED_REGISTRY, DSL.name("removed_registry_fk1"), new TableField[] { RemovedRegistry.REMOVED_REGISTRY.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<SubpoenasRecord, PubRecruitmentRecord> SUBPOENAS__TR_SUBPOENAS_FK1 = Internal.createForeignKey(Subpoenas.SUBPOENAS, DSL.name("tr_subpoenas_fk1"), new TableField[] { Subpoenas.SUBPOENAS.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}
