/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info;


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

import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ApplicationsReceivedFromEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.CitizensNextYearAge;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.DecisionFormationStatus;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.IncidentsInfo;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.IncomingCreatingRecords;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.InitRegistrationFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.RecordsInfoIdUkIdErn;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.StatusesDecisionsOnEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.ApplicationsReceivedFromEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.CitizensNextYearAgeRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.DecisionFormationStatusRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.IncidentsInfoRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.IncomingCreatingRecordsRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.InfoSentToLkEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.InitRegistrationFromGirVuRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.RecordsInfoIdUkIdErnRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.StatusesDecisionsOnEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.RecruitmentRecord;


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

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

    public static final UniqueKey<ApplicationsReceivedFromEpguRecord> APPLICATIONS_RECEIVED_FROM_EPGU_PKEY = Internal.createUniqueKey(ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU, DSL.name("applications_received_from_epgu_pkey"), new TableField[] { ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU.APPLICATIONS_RECEIVED_FROM_EPGU_ID }, true);
    public static final UniqueKey<CitizensNextYearAgeRecord> CITIZENS_NEXT_YEAR_AGE_PKEY = Internal.createUniqueKey(CitizensNextYearAge.CITIZENS_NEXT_YEAR_AGE, DSL.name("citizens_next_year_age_pkey"), new TableField[] { CitizensNextYearAge.CITIZENS_NEXT_YEAR_AGE.CITIZENS_NEXT_YEAR_AGE_ID }, true);
    public static final UniqueKey<DecisionFormationStatusRecord> DECISION_FORMATION_STATUS_PKEY = Internal.createUniqueKey(DecisionFormationStatus.DECISION_FORMATION_STATUS, DSL.name("decision_formation_status_pkey"), new TableField[] { DecisionFormationStatus.DECISION_FORMATION_STATUS.DECISION_FORMATION_STATUS_ID }, true);
    public static final UniqueKey<IncidentsInfoRecord> INCIDENTS_INFO_PKEY = Internal.createUniqueKey(IncidentsInfo.INCIDENTS_INFO, DSL.name("incidents_info_pkey"), new TableField[] { IncidentsInfo.INCIDENTS_INFO.INCIDENTS_INFO_ID }, true);
    public static final UniqueKey<IncomingCreatingRecordsRecord> INCOMING_CREATING_RECORDS_PKEY = Internal.createUniqueKey(IncomingCreatingRecords.INCOMING_CREATING_RECORDS, DSL.name("incoming_creating_records_pkey"), new TableField[] { IncomingCreatingRecords.INCOMING_CREATING_RECORDS.INCOMING_CREATING_RECORDS_ID }, true);
    public static final UniqueKey<InfoSentToLkEpguRecord> INFO_SENT_TO_LK_EPGU_PKEY = Internal.createUniqueKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("info_sent_to_lk_epgu_pkey"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.INFO_SENT_TO_LK_EPGU_ID }, true);
    public static final UniqueKey<InitRegistrationFromGirVuRecord> INIT_REGISTRATION_FROM_GIR_VU_PKEY = Internal.createUniqueKey(InitRegistrationFromGirVu.INIT_REGISTRATION_FROM_GIR_VU, DSL.name("init_registration_from_gir_vu_pkey"), new TableField[] { InitRegistrationFromGirVu.INIT_REGISTRATION_FROM_GIR_VU.INIT_REGISTRATION_FROM_GIR_VU_ID }, true);
    public static final UniqueKey<RecordsInfoIdUkIdErnRecord> RECORDS_INFO_ID_UK_ID_ERN_PKEY = Internal.createUniqueKey(RecordsInfoIdUkIdErn.RECORDS_INFO_ID_UK_ID_ERN, DSL.name("records_info_id_uk_id_ern_pkey"), new TableField[] { RecordsInfoIdUkIdErn.RECORDS_INFO_ID_UK_ID_ERN.RECORDS_INFO_ID_UK_ID_ERN_ID }, true);
    public static final UniqueKey<StatusesDecisionsOnEpguRecord> STATUSES_DECISIONS_ON_EPGU_PKEY = Internal.createUniqueKey(StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU, DSL.name("statuses_decisions_on_epgu_pkey"), new TableField[] { StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU.STATUSES_DECISIONS_ON_EPGU_ID }, true);

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

    public static final ForeignKey<ApplicationsReceivedFromEpguRecord, RecruitmentRecord> APPLICATIONS_RECEIVED_FROM_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<CitizensNextYearAgeRecord, RecruitmentRecord> CITIZENS_NEXT_YEAR_AGE__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(CitizensNextYearAge.CITIZENS_NEXT_YEAR_AGE, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { CitizensNextYearAge.CITIZENS_NEXT_YEAR_AGE.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<DecisionFormationStatusRecord, RecruitmentRecord> DECISION_FORMATION_STATUS__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(DecisionFormationStatus.DECISION_FORMATION_STATUS, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { DecisionFormationStatus.DECISION_FORMATION_STATUS.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<IncidentsInfoRecord, RecruitmentRecord> INCIDENTS_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(IncidentsInfo.INCIDENTS_INFO, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { IncidentsInfo.INCIDENTS_INFO.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<IncomingCreatingRecordsRecord, RecruitmentRecord> INCOMING_CREATING_RECORDS__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(IncomingCreatingRecords.INCOMING_CREATING_RECORDS, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { IncomingCreatingRecords.INCOMING_CREATING_RECORDS.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<InfoSentToLkEpguRecord, RecruitmentRecord> INFO_SENT_TO_LK_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<InitRegistrationFromGirVuRecord, RecruitmentRecord> INIT_REGISTRATION_FROM_GIR_VU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(InitRegistrationFromGirVu.INIT_REGISTRATION_FROM_GIR_VU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { InitRegistrationFromGirVu.INIT_REGISTRATION_FROM_GIR_VU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<RecordsInfoIdUkIdErnRecord, RecruitmentRecord> RECORDS_INFO_ID_UK_ID_ERN__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(RecordsInfoIdUkIdErn.RECORDS_INFO_ID_UK_ID_ERN, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { RecordsInfoIdUkIdErn.RECORDS_INFO_ID_UK_ID_ERN.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<StatusesDecisionsOnEpguRecord, RecruitmentRecord> STATUSES_DECISIONS_ON_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
}
