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


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.metrics.tables.Recruitment;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.RecruitmentRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ApplicationsReceivedFromEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ImpositionTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsEpguInfo;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsInfo;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportSummSing;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportTmpMeas;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ApplicationsReceivedFromEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataFromGirVuRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataPersonalVisitRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.CompareCitizenDataRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ImpositionTmpMeasuresRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InactiveAppEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.IncidentsEpguInfoRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.IncidentsInfoRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InfoSentToLkEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.PersonalInfoStatRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.RecordsAboutRegistratedCitizenRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SummonsesSignRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SupportSummSingRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SupportTmpMeasRecord;


/**
 * A class modelling foreign key relationships and constraints of tables in
 * registration_change_address.
 */
@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<ChangeDataFromGirVuRecord> CHANGE_DATA_FROM_GIR_VU_PKEY = Internal.createUniqueKey(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU, DSL.name("change_data_from_gir_vu_pkey"), new TableField[] { ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU.CHANGE_DATA_FROM_GIR_VU_ID }, true);
    public static final UniqueKey<ChangeDataPersonalVisitRecord> CHANGE_DATA_PERSONAL_VISIT_PKEY = Internal.createUniqueKey(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT, DSL.name("change_data_personal_visit_pkey"), new TableField[] { ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT.CHANGE_DATA_PERSONAL_VISIT_ID }, true);
    public static final UniqueKey<CompareCitizenDataRecord> COMPARE_CITIZEN_DATA_PKEY = Internal.createUniqueKey(CompareCitizenData.COMPARE_CITIZEN_DATA, DSL.name("compare_citizen_data_pkey"), new TableField[] { CompareCitizenData.COMPARE_CITIZEN_DATA.COMPARE_CITIZEN_DATA_ID }, true);
    public static final UniqueKey<ImpositionTmpMeasuresRecord> IMPOSITION_TMP_MEASURES_PKEY = Internal.createUniqueKey(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, DSL.name("imposition_tmp_measures_pkey"), new TableField[] { ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES.IMPOSITION_TMP_MEASURES_ID }, true);
    public static final UniqueKey<InactiveAppEpguRecord> INACTIVE_APP_EPGU_PKEY = Internal.createUniqueKey(InactiveAppEpgu.INACTIVE_APP_EPGU, DSL.name("inactive_app_epgu_pkey"), new TableField[] { InactiveAppEpgu.INACTIVE_APP_EPGU.INACTIVE_APP_EPGU_ID }, true);
    public static final UniqueKey<IncidentsEpguInfoRecord> INCIDENTS_EPGU_INFO_PKEY = Internal.createUniqueKey(IncidentsEpguInfo.INCIDENTS_EPGU_INFO, DSL.name("incidents_epgu_info_pkey"), new TableField[] { IncidentsEpguInfo.INCIDENTS_EPGU_INFO.INCIDENTS_EPGU_INFO_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<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<PersonalInfoStatRecord> PERSONAL_INFO_STAT_PKEY = Internal.createUniqueKey(PersonalInfoStat.PERSONAL_INFO_STAT, DSL.name("personal_info_stat_pkey"), new TableField[] { PersonalInfoStat.PERSONAL_INFO_STAT.PERSONAL_INFO_STAT_ID }, true);
    public static final UniqueKey<RecordsAboutRegistratedCitizenRecord> RECORDS_ABOUT_REGISTRATED_CITIZEN_PKEY = Internal.createUniqueKey(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN, DSL.name("records_about_registrated_citizen_pkey"), new TableField[] { RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN.RECORDS_ABOUT_REGISTRATED_CITIZEN_ID }, true);
    public static final UniqueKey<SummonsesSignRecord> SUMMONSES_SIGN_PKEY = Internal.createUniqueKey(SummonsesSign.SUMMONSES_SIGN, DSL.name("summonses_sign_pkey"), new TableField[] { SummonsesSign.SUMMONSES_SIGN.SUMMONSES_SIGN_ID }, true);
    public static final UniqueKey<SupportSummSingRecord> SUPPORT_SUMM_SING_PKEY = Internal.createUniqueKey(SupportSummSing.SUPPORT_SUMM_SING, DSL.name("support_summ_sing_pkey"), new TableField[] { SupportSummSing.SUPPORT_SUMM_SING.SUPPORT_SUMM_SING_ID }, true);
    public static final UniqueKey<SupportTmpMeasRecord> SUPPORT_TMP_MEAS_PKEY = Internal.createUniqueKey(SupportTmpMeas.SUPPORT_TMP_MEAS, DSL.name("support_tmp_meas_pkey"), new TableField[] { SupportTmpMeas.SUPPORT_TMP_MEAS.SUPPORT_TMP_MEAS_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<ChangeDataFromGirVuRecord, RecruitmentRecord> CHANGE_DATA_FROM_GIR_VU__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { ChangeDataFromGirVu.CHANGE_DATA_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<ChangeDataPersonalVisitRecord, RecruitmentRecord> CHANGE_DATA_PERSONAL_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<CompareCitizenDataRecord, RecruitmentRecord> COMPARE_CITIZEN_DATA__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(CompareCitizenData.COMPARE_CITIZEN_DATA, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { CompareCitizenData.COMPARE_CITIZEN_DATA.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<ImpositionTmpMeasuresRecord, RecruitmentRecord> IMPOSITION_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<InactiveAppEpguRecord, RecruitmentRecord> INACTIVE_APP_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(InactiveAppEpgu.INACTIVE_APP_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { InactiveAppEpgu.INACTIVE_APP_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<IncidentsEpguInfoRecord, RecruitmentRecord> INCIDENTS_EPGU_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(IncidentsEpguInfo.INCIDENTS_EPGU_INFO, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { IncidentsEpguInfo.INCIDENTS_EPGU_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<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<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<PersonalInfoStatRecord, RecruitmentRecord> PERSONAL_INFO_STAT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(PersonalInfoStat.PERSONAL_INFO_STAT, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { PersonalInfoStat.PERSONAL_INFO_STAT.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<RecordsAboutRegistratedCitizenRecord, RecruitmentRecord> RECORDS_ABOUT_REGISTRATED_CITIZEN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<SummonsesSignRecord, RecruitmentRecord> SUMMONSES_SIGN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(SummonsesSign.SUMMONSES_SIGN, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { SummonsesSign.SUMMONSES_SIGN.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
}
