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


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

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


/**
 * 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> AGE_PKEY = Internal.createUniqueKey(Age.AGE, DSL.name("age_pkey"), new TableField[] { Age.AGE.REGISTERED, Age.AGE.RECRUITMENT_ID, Age.AGE.RECORDING_DATE, Age.AGE.ALL_M_W, Age.AGE.SCHEMA, Age.AGE.CONVICTS }, true);
    public static final UniqueKey<BusynessRecord> BUSYNESS_PKEY = Internal.createUniqueKey(Busyness.BUSYNESS, DSL.name("busyness_pkey"), new TableField[] { Busyness.BUSYNESS.REGISTERED, Busyness.BUSYNESS.RECRUITMENT_ID, Busyness.BUSYNESS.RECORDING_DATE, Busyness.BUSYNESS.ALL_M_W, Busyness.BUSYNESS.SCHEMA, Busyness.BUSYNESS.CONVICTS }, true);
    public static final UniqueKey<ChildMinorRecord> CHILD_MINOR_PKEY = Internal.createUniqueKey(ChildMinor.CHILD_MINOR, DSL.name("child_minor_pkey"), new TableField[] { ChildMinor.CHILD_MINOR.ALL_M_W, ChildMinor.CHILD_MINOR.RECORDING_DATE, ChildMinor.CHILD_MINOR.RECRUITMENT_ID, ChildMinor.CHILD_MINOR.SCHEMA, ChildMinor.CHILD_MINOR.CONVICTS }, true);
    public static final UniqueKey<DriverLicenseRecord> DRIVER_LICENSE_PKEY = Internal.createUniqueKey(DriverLicense.DRIVER_LICENSE, DSL.name("driver_license_pkey"), new TableField[] { DriverLicense.DRIVER_LICENSE.ALL_M_W, DriverLicense.DRIVER_LICENSE.RECORDING_DATE, DriverLicense.DRIVER_LICENSE.RECRUITMENT_ID, DriverLicense.DRIVER_LICENSE.SCHEMA, DriverLicense.DRIVER_LICENSE.CONVICTS }, true);
    public static final UniqueKey<EducationLevelRecord> EDUCATION_LEVEL_PKEY = Internal.createUniqueKey(EducationLevel.EDUCATION_LEVEL, DSL.name("education_level_pkey"), new TableField[] { EducationLevel.EDUCATION_LEVEL.ALL_M_W, EducationLevel.EDUCATION_LEVEL.RECORDING_DATE, EducationLevel.EDUCATION_LEVEL.RECRUITMENT_ID, EducationLevel.EDUCATION_LEVEL.SCHEMA, EducationLevel.EDUCATION_LEVEL.CONVICTS }, true);
    public static final UniqueKey<MaritalStatusRecord> MARITAL_STATUS_PKEY = Internal.createUniqueKey(MaritalStatus.MARITAL_STATUS, DSL.name("marital_status_pkey"), new TableField[] { MaritalStatus.MARITAL_STATUS.ALL_M_W, MaritalStatus.MARITAL_STATUS.RECORDING_DATE, MaritalStatus.MARITAL_STATUS.RECRUITMENT_ID, MaritalStatus.MARITAL_STATUS.SCHEMA, MaritalStatus.MARITAL_STATUS.CONVICTS }, true);
    public static final UniqueKey<RegMilCatRecord> REG_MIL_CAT_PKEY = Internal.createUniqueKey(RegMilCat.REG_MIL_CAT, DSL.name("reg_mil_cat_pkey"), new TableField[] { RegMilCat.REG_MIL_CAT.MIL_REG, RegMilCat.REG_MIL_CAT.RECRUITMENT_ID, RegMilCat.REG_MIL_CAT.RECORDING_DATE, RegMilCat.REG_MIL_CAT.SCHEMA }, true);
    public static final UniqueKey<RemovedRegistryRecord> REMOVED_REGISTRY_PKEY = Internal.createUniqueKey(RemovedRegistry.REMOVED_REGISTRY, DSL.name("removed_registry_pkey"), new TableField[] { RemovedRegistry.REMOVED_REGISTRY.RECRUITMENT_ID, RemovedRegistry.REMOVED_REGISTRY.RECORDING_DATE, RemovedRegistry.REMOVED_REGISTRY.SCHEMA }, true);
    public static final UniqueKey<SubpoenasRecord> SUBPOENAS_PKEY = Internal.createUniqueKey(Subpoenas.SUBPOENAS, DSL.name("subpoenas_pkey"), new TableField[] { Subpoenas.SUBPOENAS.MIL_REG, Subpoenas.SUBPOENAS.RECRUITMENT_ID, Subpoenas.SUBPOENAS.RECORDING_DATE, Subpoenas.SUBPOENAS.SCHEMA }, true);
}
