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


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.ervu_dashboard.db_beans.ervu_dashboard.tables.ArrayMildis;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.ArrayReg;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.BorderCrossing;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenAppealingIndividualDecisions;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenAppealingViolationsFz53;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenComplexFilters;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenCriminalLiabilityFz53;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenCriminalRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenDeferment;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenDefermentRight;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenEducation;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenEducationDiploma;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenEducationDiplomasReceived;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenForeignEducationDiploma;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenIncident;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenIndividualDecisions;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenInformationSearch;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenLiabilityFz53;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSportsCategories;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenWorkActivity;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CountryOksm;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentReason;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentUnifiedData;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Delta;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationForm;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationInstitutionType;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationLeaveReason;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationLevel;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationMinobrDocType;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationMinobrSpeciality;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationMinprosvDocType;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationMinprosvSpeciality;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.EducationStatus;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.ReasonDict;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.RecruitErvuStatus;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.RecruitmentCorrespondences;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.VehicleCategories;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ArrayMildisRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ArrayRegRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.BorderCrossingRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenAppealingIndividualDecisionsRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenAppealingViolationsFz53Record;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenChildRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenComplexFiltersRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenCriminalLiabilityFz53Record;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenCriminalRecordRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenDefermentRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenDefermentRightRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenEducationDiplomaRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenEducationDiplomasReceivedRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenEducationRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenForeignEducationDiplomaRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenGuardianshipRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenIncidentRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenIndividualDecisionsRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenInformationSearchRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenLiabilityFz53Record;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSportsCategoriesRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSpouseRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenWorkActivityRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipForeignRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CountryOksmRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DecisionRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DefermentReasonRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DefermentUnifiedDataRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DeltaRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DeputyRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DiseaseRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DriversLicenceRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationFormRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationInstitutionTypeRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationLeaveReasonRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationLevelRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationMinobrDocTypeRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationMinobrSpecialityRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationMinprosvDocTypeRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationMinprosvSpecialityRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.EducationStatusRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.MedicalAuthoritiesRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PassportRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PropertyRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ProsecutionRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PunishmentRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ReasonDictRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitErvuStatusRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentCorrespondencesRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.SubpoenaRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.TemporaryMeasuresRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.VehicleCategoriesRecord;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.WorkRecord;


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

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

    public static final UniqueKey<ArrayMildisRecord> ARRAY_MILDIS_PKEY = Internal.createUniqueKey(ArrayMildis.ARRAY_MILDIS, DSL.name("array_mildis_pkey"), new TableField[] { ArrayMildis.ARRAY_MILDIS.RECRUITMENT_DSTR_ID }, true);
    public static final UniqueKey<ArrayRegRecord> ARRAY_REG_PKEY = Internal.createUniqueKey(ArrayReg.ARRAY_REG, DSL.name("array_reg_pkey"), new TableField[] { ArrayReg.ARRAY_REG.RECRUITMENT_REG_ID }, true);
    public static final UniqueKey<BorderCrossingRecord> BORDER_CROSSING_PKEY = Internal.createUniqueKey(BorderCrossing.BORDER_CROSSING, DSL.name("border_crossing_pkey"), new TableField[] { BorderCrossing.BORDER_CROSSING.ID }, true);
    public static final UniqueKey<CitizenRecord> CITIZEN_PKEY = Internal.createUniqueKey(Citizen.CITIZEN, DSL.name("citizen_pkey"), new TableField[] { Citizen.CITIZEN.RECRUIT_ID }, true);
    public static final UniqueKey<CitizenAppealingIndividualDecisionsRecord> PK_CITIZEN_APPEALING_INDIVIDUAL_DECISIONS = Internal.createUniqueKey(CitizenAppealingIndividualDecisions.CITIZEN_APPEALING_INDIVIDUAL_DECISIONS, DSL.name("pk_citizen_appealing_individual_decisions"), new TableField[] { CitizenAppealingIndividualDecisions.CITIZEN_APPEALING_INDIVIDUAL_DECISIONS.CITIZEN_APPEALING_INDIVIDUAL_DECISIONS_ID }, true);
    public static final UniqueKey<CitizenAppealingViolationsFz53Record> PK_CITIZEN_APPEALING_VIOLATIONS_FZ53 = Internal.createUniqueKey(CitizenAppealingViolationsFz53.CITIZEN_APPEALING_VIOLATIONS_FZ53, DSL.name("pk_citizen_appealing_violations_fz53"), new TableField[] { CitizenAppealingViolationsFz53.CITIZEN_APPEALING_VIOLATIONS_FZ53.CITIZEN_APPEALING_VIOLATIONS_FZ53_ID }, true);
    public static final UniqueKey<CitizenChildRecord> PK_CITIZEN_CHILD = Internal.createUniqueKey(CitizenChild.CITIZEN_CHILD, DSL.name("pk_citizen_child"), new TableField[] { CitizenChild.CITIZEN_CHILD.CITIZEN_CHILD_ID }, true);
    public static final UniqueKey<CitizenComplexFiltersRecord> PK_CITIZEN_COMPLEX_FILTERS = Internal.createUniqueKey(CitizenComplexFilters.CITIZEN_COMPLEX_FILTERS, DSL.name("pk_citizen_complex_filters"), new TableField[] { CitizenComplexFilters.CITIZEN_COMPLEX_FILTERS.CITIZEN_COMPLEX_FILTERS_ID }, true);
    public static final UniqueKey<CitizenCriminalLiabilityFz53Record> PK_CITIZEN_CRIMINAL_LIABILITY_FZ53 = Internal.createUniqueKey(CitizenCriminalLiabilityFz53.CITIZEN_CRIMINAL_LIABILITY_FZ53, DSL.name("pk_citizen_criminal_liability_fz53"), new TableField[] { CitizenCriminalLiabilityFz53.CITIZEN_CRIMINAL_LIABILITY_FZ53.CITIZEN_CRIMINAL_LIABILITY_FZ53_ID }, true);
    public static final UniqueKey<CitizenCriminalRecordRecord> PK_CITIZEN_CRIMINAL_RECORD = Internal.createUniqueKey(CitizenCriminalRecord.CITIZEN_CRIMINAL_RECORD, DSL.name("pk_citizen_criminal_record"), new TableField[] { CitizenCriminalRecord.CITIZEN_CRIMINAL_RECORD.CITIZEN_CRIMINAL_RECORD_ID }, true);
    public static final UniqueKey<CitizenDefermentRecord> CITIZEN_DEFERMENT_PKEY = Internal.createUniqueKey(CitizenDeferment.CITIZEN_DEFERMENT, DSL.name("citizen_deferment_pkey"), new TableField[] { CitizenDeferment.CITIZEN_DEFERMENT.CITIZEN_DEFERMENT_ID }, true);
    public static final UniqueKey<CitizenDefermentRightRecord> CITIZEN_DEFERMENT_RIGHT_PKEY = Internal.createUniqueKey(CitizenDefermentRight.CITIZEN_DEFERMENT_RIGHT, DSL.name("citizen_deferment_right_pkey"), new TableField[] { CitizenDefermentRight.CITIZEN_DEFERMENT_RIGHT.CITIZEN_DEFERMENT_RIGHT_ID }, true);
    public static final UniqueKey<CitizenEducationRecord> CITIZEN_EDUCATION_PKEY = Internal.createUniqueKey(CitizenEducation.CITIZEN_EDUCATION, DSL.name("citizen_education_pkey"), new TableField[] { CitizenEducation.CITIZEN_EDUCATION.CITIZEN_EDUCATION_ID }, true);
    public static final UniqueKey<CitizenEducationDiplomaRecord> CITIZEN_EDUCATION_DIPLOMA_PKEY = Internal.createUniqueKey(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_pkey"), new TableField[] { CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA.CITIZEN_EDUCATION_DIPLOMA_ID }, true);
    public static final UniqueKey<CitizenEducationDiplomasReceivedRecord> CITIZEN_EDUCATION_DIPLOMAS_RECEIVED_PKEY = Internal.createUniqueKey(CitizenEducationDiplomasReceived.CITIZEN_EDUCATION_DIPLOMAS_RECEIVED, DSL.name("citizen_education_diplomas_received_pkey"), new TableField[] { CitizenEducationDiplomasReceived.CITIZEN_EDUCATION_DIPLOMAS_RECEIVED.CITIZEN_EDUCATION_DIPLOMAS_RECEIVED_ID }, true);
    public static final UniqueKey<CitizenForeignEducationDiplomaRecord> CITIZEN_FOREIGN_EDUCATION_DIPLOMA_PKEY = Internal.createUniqueKey(CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA, DSL.name("citizen_foreign_education_diploma_pkey"), new TableField[] { CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA.CITIZEN_FOREIGN_EDUCATION_DIPLOMA_ID }, true);
    public static final UniqueKey<CitizenGuardianshipRecord> PK_CITIZEN_GUARDIANSHIP = Internal.createUniqueKey(CitizenGuardianship.CITIZEN_GUARDIANSHIP, DSL.name("pk_citizen_guardianship"), new TableField[] { CitizenGuardianship.CITIZEN_GUARDIANSHIP.CITIZEN_GUARDIANSHIP_ID }, true);
    public static final UniqueKey<CitizenIncidentRecord> PK_CITIZEN_INCIDENT = Internal.createUniqueKey(CitizenIncident.CITIZEN_INCIDENT, DSL.name("pk_citizen_incident"), new TableField[] { CitizenIncident.CITIZEN_INCIDENT.CITIZEN_INCIDENT_ID }, true);
    public static final UniqueKey<CitizenIndividualDecisionsRecord> PK_CITIZEN_INDIVIDUAL_DECISIONS = Internal.createUniqueKey(CitizenIndividualDecisions.CITIZEN_INDIVIDUAL_DECISIONS, DSL.name("pk_citizen_individual_decisions"), new TableField[] { CitizenIndividualDecisions.CITIZEN_INDIVIDUAL_DECISIONS.CITIZEN_INDIVIDUAL_DECISIONS_ID }, true);
    public static final UniqueKey<CitizenInformationSearchRecord> PK_CITIZEN_INFORMATION_SEARCH = Internal.createUniqueKey(CitizenInformationSearch.CITIZEN_INFORMATION_SEARCH, DSL.name("pk_citizen_information_search"), new TableField[] { CitizenInformationSearch.CITIZEN_INFORMATION_SEARCH.CITIZEN_INFORMATION_SEARCH_ID }, true);
    public static final UniqueKey<CitizenLiabilityFz53Record> PK_CITIZEN_LIABILITY_FZ53 = Internal.createUniqueKey(CitizenLiabilityFz53.CITIZEN_LIABILITY_FZ53, DSL.name("pk_citizen_liability_fz53"), new TableField[] { CitizenLiabilityFz53.CITIZEN_LIABILITY_FZ53.CITIZEN_LIABILITY_FZ53_ID }, true);
    public static final UniqueKey<CitizenSportsCategoriesRecord> PK_CITIZEN_SPORTS_CATEGORIES = Internal.createUniqueKey(CitizenSportsCategories.CITIZEN_SPORTS_CATEGORIES, DSL.name("pk_citizen_sports_categories"), new TableField[] { CitizenSportsCategories.CITIZEN_SPORTS_CATEGORIES.CITIZEN_SPORTS_CATEGORIES_ID }, true);
    public static final UniqueKey<CitizenSpouseRecord> PK_CITIZEN_SPOUSE = Internal.createUniqueKey(CitizenSpouse.CITIZEN_SPOUSE, DSL.name("pk_citizen_spouse"), new TableField[] { CitizenSpouse.CITIZEN_SPOUSE.CITIZEN_SPOUSE_ID }, true);
    public static final UniqueKey<CitizenWorkActivityRecord> CITIZEN_WORK_ACTIVITY_PKEY = Internal.createUniqueKey(CitizenWorkActivity.CITIZEN_WORK_ACTIVITY, DSL.name("citizen_work_activity_pkey"), new TableField[] { CitizenWorkActivity.CITIZEN_WORK_ACTIVITY.CITIZEN_WORK_ACTIVITY_ID }, true);
    public static final UniqueKey<CitizenshipRecord> PK_CITIZENSHIP = Internal.createUniqueKey(Citizenship.CITIZENSHIP, DSL.name("pk_citizenship"), new TableField[] { Citizenship.CITIZENSHIP.CITIZENSHIP_ID }, true);
    public static final UniqueKey<CitizenshipForeignRecord> PK_CITIZENSHIP_FOREIGN = Internal.createUniqueKey(CitizenshipForeign.CITIZENSHIP_FOREIGN, DSL.name("pk_citizenship_foreign"), new TableField[] { CitizenshipForeign.CITIZENSHIP_FOREIGN.CITIZENSHIP_FOREIGN_ID }, true);
    public static final UniqueKey<CountryOksmRecord> COUNTRY_OKSM_CODE_UNIQUE_KEY = Internal.createUniqueKey(CountryOksm.COUNTRY_OKSM, DSL.name("country_oksm_code_unique_key"), new TableField[] { CountryOksm.COUNTRY_OKSM.CODE }, true);
    public static final UniqueKey<CountryOksmRecord> COUNTRY_OKSM_PKEY = Internal.createUniqueKey(CountryOksm.COUNTRY_OKSM, DSL.name("country_oksm_pkey"), new TableField[] { CountryOksm.COUNTRY_OKSM.COUNTRY_OKSM_ID }, true);
    public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
    public static final UniqueKey<DecisionRecord> DECISION_PKEY = Internal.createUniqueKey(Decision.DECISION, DSL.name("decision_pkey"), new TableField[] { Decision.DECISION.DECISION_ID }, true);
    public static final UniqueKey<DefermentReasonRecord> DEFERMENT_REASON_CODE_UNIQUE_KEY = Internal.createUniqueKey(DefermentReason.DEFERMENT_REASON, DSL.name("deferment_reason_code_unique_key"), new TableField[] { DefermentReason.DEFERMENT_REASON.CODE }, true);
    public static final UniqueKey<DefermentReasonRecord> DEFERMENT_REASON_PKEY = Internal.createUniqueKey(DefermentReason.DEFERMENT_REASON, DSL.name("deferment_reason_pkey"), new TableField[] { DefermentReason.DEFERMENT_REASON.DEFERMENT_REASON_ID }, true);
    public static final UniqueKey<DefermentUnifiedDataRecord> DEFERMENT_UNIFIED_DATA_PKEY = Internal.createUniqueKey(DefermentUnifiedData.DEFERMENT_UNIFIED_DATA, DSL.name("deferment_unified_data_pkey"), new TableField[] { DefermentUnifiedData.DEFERMENT_UNIFIED_DATA.ID }, true);
    public static final UniqueKey<DeltaRecord> PK_DELTA = Internal.createUniqueKey(Delta.DELTA, DSL.name("pk_delta"), new TableField[] { Delta.DELTA.DELTA_ID }, true);
    public static final UniqueKey<DeputyRecord> PK_DEPUTY = Internal.createUniqueKey(Deputy.DEPUTY, DSL.name("pk_deputy"), new TableField[] { Deputy.DEPUTY.DEPUTY_ID }, true);
    public static final UniqueKey<DisabilityRecord> PK_DISABILITY = Internal.createUniqueKey(Disability.DISABILITY, DSL.name("pk_disability"), new TableField[] { Disability.DISABILITY.DISABILITY_ID }, true);
    public static final UniqueKey<DiseaseRecord> PK_DISEASE = Internal.createUniqueKey(Disease.DISEASE, DSL.name("pk_disease"), new TableField[] { Disease.DISEASE.DISEASE_ID }, true);
    public static final UniqueKey<DriversLicenceRecord> PK_DRIVERS_LICENCE = Internal.createUniqueKey(DriversLicence.DRIVERS_LICENCE, DSL.name("pk_drivers_licence"), new TableField[] { DriversLicence.DRIVERS_LICENCE.DRIVERS_LICENCE_ID }, true);
    public static final UniqueKey<EducationFormRecord> EDUCATION_FORM_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationForm.EDUCATION_FORM, DSL.name("education_form_code_unique_key"), new TableField[] { EducationForm.EDUCATION_FORM.CODE }, true);
    public static final UniqueKey<EducationFormRecord> EDUCATION_FORM_PKEY = Internal.createUniqueKey(EducationForm.EDUCATION_FORM, DSL.name("education_form_pkey"), new TableField[] { EducationForm.EDUCATION_FORM.EDUCATION_FORM_ID }, true);
    public static final UniqueKey<EducationInstitutionTypeRecord> EDUCATION_INSTITUTION_TYPE_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationInstitutionType.EDUCATION_INSTITUTION_TYPE, DSL.name("education_institution_type_code_unique_key"), new TableField[] { EducationInstitutionType.EDUCATION_INSTITUTION_TYPE.CODE }, true);
    public static final UniqueKey<EducationInstitutionTypeRecord> EDUCATION_INSTITUTION_TYPE_PKEY = Internal.createUniqueKey(EducationInstitutionType.EDUCATION_INSTITUTION_TYPE, DSL.name("education_institution_type_pkey"), new TableField[] { EducationInstitutionType.EDUCATION_INSTITUTION_TYPE.EDUCATION_INSTITUTION_TYPE_ID }, true);
    public static final UniqueKey<EducationLeaveReasonRecord> EDUCATION_LEAVE_REASON_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationLeaveReason.EDUCATION_LEAVE_REASON, DSL.name("education_leave_reason_code_unique_key"), new TableField[] { EducationLeaveReason.EDUCATION_LEAVE_REASON.CODE }, true);
    public static final UniqueKey<EducationLeaveReasonRecord> EDUCATION_LEAVE_REASON_PKEY = Internal.createUniqueKey(EducationLeaveReason.EDUCATION_LEAVE_REASON, DSL.name("education_leave_reason_pkey"), new TableField[] { EducationLeaveReason.EDUCATION_LEAVE_REASON.EDUCATION_LEAVE_REASON_ID }, true);
    public static final UniqueKey<EducationLevelRecord> EDUCATION_LEVEL_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationLevel.EDUCATION_LEVEL, DSL.name("education_level_code_unique_key"), new TableField[] { EducationLevel.EDUCATION_LEVEL.CODE }, true);
    public static final UniqueKey<EducationLevelRecord> EDUCATION_LEVEL_PKEY = Internal.createUniqueKey(EducationLevel.EDUCATION_LEVEL, DSL.name("education_level_pkey"), new TableField[] { EducationLevel.EDUCATION_LEVEL.EDUCATION_LEVEL_ID }, true);
    public static final UniqueKey<EducationMinobrDocTypeRecord> EDUCATION_MINOBR_DOC_TYPE_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationMinobrDocType.EDUCATION_MINOBR_DOC_TYPE, DSL.name("education_minobr_doc_type_code_unique_key"), new TableField[] { EducationMinobrDocType.EDUCATION_MINOBR_DOC_TYPE.CODE }, true);
    public static final UniqueKey<EducationMinobrDocTypeRecord> EDUCATION_MINOBR_DOC_TYPE_PKEY = Internal.createUniqueKey(EducationMinobrDocType.EDUCATION_MINOBR_DOC_TYPE, DSL.name("education_minobr_doc_type_pkey"), new TableField[] { EducationMinobrDocType.EDUCATION_MINOBR_DOC_TYPE.EDUCATION_MINOBR_DOC_TYPE_ID }, true);
    public static final UniqueKey<EducationMinobrSpecialityRecord> EDUCATION_MINOBR_SPECIALITY_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationMinobrSpeciality.EDUCATION_MINOBR_SPECIALITY, DSL.name("education_minobr_speciality_code_unique_key"), new TableField[] { EducationMinobrSpeciality.EDUCATION_MINOBR_SPECIALITY.CODE }, true);
    public static final UniqueKey<EducationMinobrSpecialityRecord> EDUCATION_MINOBR_SPECIALITY_PKEY = Internal.createUniqueKey(EducationMinobrSpeciality.EDUCATION_MINOBR_SPECIALITY, DSL.name("education_minobr_speciality_pkey"), new TableField[] { EducationMinobrSpeciality.EDUCATION_MINOBR_SPECIALITY.EDUCATION_MINOBR_SPECIALITY_ID }, true);
    public static final UniqueKey<EducationMinprosvDocTypeRecord> EDUCATION_MINPROSV_DOC_TYPE_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationMinprosvDocType.EDUCATION_MINPROSV_DOC_TYPE, DSL.name("education_minprosv_doc_type_code_unique_key"), new TableField[] { EducationMinprosvDocType.EDUCATION_MINPROSV_DOC_TYPE.CODE }, true);
    public static final UniqueKey<EducationMinprosvDocTypeRecord> EDUCATION_MINPROSV_DOC_TYPE_PKEY = Internal.createUniqueKey(EducationMinprosvDocType.EDUCATION_MINPROSV_DOC_TYPE, DSL.name("education_minprosv_doc_type_pkey"), new TableField[] { EducationMinprosvDocType.EDUCATION_MINPROSV_DOC_TYPE.EDUCATION_MINPROSV_DOC_TYPE_ID }, true);
    public static final UniqueKey<EducationMinprosvSpecialityRecord> EDUCATION_MINPROSV_SPECIALITY_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY, DSL.name("education_minprosv_speciality_code_unique_key"), new TableField[] { EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY.CODE }, true);
    public static final UniqueKey<EducationMinprosvSpecialityRecord> EDUCATION_MINPROSV_SPECIALITY_PKEY = Internal.createUniqueKey(EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY, DSL.name("education_minprosv_speciality_pkey"), new TableField[] { EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY.EDUCATION_MINPROSV_SPECIALITY_ID }, true);
    public static final UniqueKey<EducationStatusRecord> EDUCATION_STATUS_CODE_UNIQUE_KEY = Internal.createUniqueKey(EducationStatus.EDUCATION_STATUS, DSL.name("education_status_code_unique_key"), new TableField[] { EducationStatus.EDUCATION_STATUS.CODE }, true);
    public static final UniqueKey<EducationStatusRecord> EDUCATION_STATUS_PKEY = Internal.createUniqueKey(EducationStatus.EDUCATION_STATUS, DSL.name("education_status_pkey"), new TableField[] { EducationStatus.EDUCATION_STATUS.EDUCATION_STATUS_ID }, true);
    public static final UniqueKey<MedicalAuthoritiesRecord> PK_MEDICAL_AUTHORITIES = Internal.createUniqueKey(MedicalAuthorities.MEDICAL_AUTHORITIES, DSL.name("pk_medical_authorities"), new TableField[] { MedicalAuthorities.MEDICAL_AUTHORITIES.MEDICAL_AUTHORITIES_ID }, true);
    public static final UniqueKey<PassportRecord> PK_PASSPORT = Internal.createUniqueKey(Passport.PASSPORT, DSL.name("pk_passport"), new TableField[] { Passport.PASSPORT.PASSPORT_ID }, true);
    public static final UniqueKey<PropertyRecord> PK_PROPERTY = Internal.createUniqueKey(Property.PROPERTY, DSL.name("pk_property"), new TableField[] { Property.PROPERTY.PROPERTY_ID }, true);
    public static final UniqueKey<ProsecutionRecord> PK_PROSECUTION = Internal.createUniqueKey(Prosecution.PROSECUTION, DSL.name("pk_prosecution"), new TableField[] { Prosecution.PROSECUTION.PROSECUTION_ID }, true);
    public static final UniqueKey<PubRecruitmentRecord> PUB_RECRUITMENT_PKEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("pub_recruitment_pkey"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final UniqueKey<PubRecruitmentRecord> RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.IDM_ID }, true);
    public static final UniqueKey<PunishmentRecord> PK_PUNISHMENT = Internal.createUniqueKey(Punishment.PUNISHMENT, DSL.name("pk_punishment"), new TableField[] { Punishment.PUNISHMENT.PUNISHMENT_ID }, true);
    public static final UniqueKey<ReasonDictRecord> REASON_DICT_PKEY = Internal.createUniqueKey(ReasonDict.REASON_DICT, DSL.name("reason_dict_pkey"), new TableField[] { ReasonDict.REASON_DICT.CODE }, true);
    public static final UniqueKey<RecruitErvuStatusRecord> RECRUIT_ERVU_STATUS_CODE_UNIQUE_KEY = Internal.createUniqueKey(RecruitErvuStatus.RECRUIT_ERVU_STATUS, DSL.name("recruit_ervu_status_code_unique_key"), new TableField[] { RecruitErvuStatus.RECRUIT_ERVU_STATUS.CODE }, true);
    public static final UniqueKey<RecruitErvuStatusRecord> RECRUIT_ERVU_STATUS_PKEY = Internal.createUniqueKey(RecruitErvuStatus.RECRUIT_ERVU_STATUS, DSL.name("recruit_ervu_status_pkey"), new TableField[] { RecruitErvuStatus.RECRUIT_ERVU_STATUS.RECRUIT_ERVU_STATUS_ID }, true);
    public static final UniqueKey<RecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.IDM_ID }, true);
    public static final UniqueKey<RecruitmentCorrespondencesRecord> RECRUITMENT_CORRESPONDENCES_PKEY = Internal.createUniqueKey(RecruitmentCorrespondences.RECRUITMENT_CORRESPONDENCES, DSL.name("recruitment_correspondences_pkey"), new TableField[] { RecruitmentCorrespondences.RECRUITMENT_CORRESPONDENCES.ID }, true);
    public static final UniqueKey<SubpoenaRecord> SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.SUB_ID }, true);
    public static final UniqueKey<TemporaryMeasuresRecord> TEMPORARY_MEASURES_PKEY = Internal.createUniqueKey(TemporaryMeasures.TEMPORARY_MEASURES, DSL.name("temporary_measures_pkey"), new TableField[] { TemporaryMeasures.TEMPORARY_MEASURES.TEMPORARY_MEASURES_ID }, true);
    public static final UniqueKey<VehicleCategoriesRecord> VEHICLE_CATEGORIES_PKEY = Internal.createUniqueKey(VehicleCategories.VEHICLE_CATEGORIES, DSL.name("vehicle_categories_pkey"), new TableField[] { VehicleCategories.VEHICLE_CATEGORIES.CODE }, true);
    public static final UniqueKey<WorkRecord> PK_WORK = Internal.createUniqueKey(Work.WORK, DSL.name("pk_work"), new TableField[] { Work.WORK.WORK_ID }, true);

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

    public static final ForeignKey<CitizenDefermentRecord, DefermentReasonRecord> CITIZEN_DEFERMENT__CITIZEN_DEFERMENT_DEFERMENT_REASON_CODE_FK = Internal.createForeignKey(CitizenDeferment.CITIZEN_DEFERMENT, DSL.name("citizen_deferment_deferment_reason_code_fk"), new TableField[] { CitizenDeferment.CITIZEN_DEFERMENT.REASON_CODE }, Keys.DEFERMENT_REASON_CODE_UNIQUE_KEY, new TableField[] { DefermentReason.DEFERMENT_REASON.CODE }, true);
    public static final ForeignKey<CitizenDefermentRightRecord, DefermentReasonRecord> CITIZEN_DEFERMENT_RIGHT__CITIZEN_DEFERMENT_RIGHT_DEFERMENT_REASON_CODE_FK = Internal.createForeignKey(CitizenDefermentRight.CITIZEN_DEFERMENT_RIGHT, DSL.name("citizen_deferment_right_deferment_reason_code_fk"), new TableField[] { CitizenDefermentRight.CITIZEN_DEFERMENT_RIGHT.CODE }, Keys.DEFERMENT_REASON_CODE_UNIQUE_KEY, new TableField[] { DefermentReason.DEFERMENT_REASON.CODE }, true);
    public static final ForeignKey<CitizenEducationDiplomaRecord, EducationMinprosvDocTypeRecord> CITIZEN_EDUCATION_DIPLOMA__CITIZEN_EDUCATION_DIPLOMA_DOC_TYPE_CODE_MINPROSV_CODE_FK = Internal.createForeignKey(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_doc_type_code_minprosv_code_fk"), new TableField[] { CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA.DOC_TYPE_CODE_MINPROSV }, Keys.EDUCATION_MINPROSV_DOC_TYPE_CODE_UNIQUE_KEY, new TableField[] { EducationMinprosvDocType.EDUCATION_MINPROSV_DOC_TYPE.CODE }, true);
    public static final ForeignKey<CitizenEducationDiplomaRecord, EducationLevelRecord> CITIZEN_EDUCATION_DIPLOMA__CITIZEN_EDUCATION_DIPLOMA_EDUCATION_LEVEL_CODE_FK = Internal.createForeignKey(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_education_level_code_fk"), new TableField[] { CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA.EDUCATION_LEVEL_CODE }, Keys.EDUCATION_LEVEL_CODE_UNIQUE_KEY, new TableField[] { EducationLevel.EDUCATION_LEVEL.CODE }, true);
    public static final ForeignKey<CitizenEducationDiplomaRecord, EducationMinobrSpecialityRecord> CITIZEN_EDUCATION_DIPLOMA__CITIZEN_EDUCATION_DIPLOMA_EDUCATION_MINOBR_SPECIALITY_CODE_FK = Internal.createForeignKey(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_education_minobr_speciality_code_fk"), new TableField[] { CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA.EDUCATION_SPECIALITY_MINPOBR_CODE }, Keys.EDUCATION_MINOBR_SPECIALITY_CODE_UNIQUE_KEY, new TableField[] { EducationMinobrSpeciality.EDUCATION_MINOBR_SPECIALITY.CODE }, true);
    public static final ForeignKey<CitizenEducationDiplomaRecord, EducationMinprosvSpecialityRecord> CITIZEN_EDUCATION_DIPLOMA__CITIZEN_EDUCATION_DIPLOMA_EDUCATION_MINPROSV_SPECIALITY_CODE_FK = Internal.createForeignKey(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_education_minprosv_speciality_code_fk"), new TableField[] { CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA.EDUCATION_SPECIALITY_MINPROSV_CODE }, Keys.EDUCATION_MINPROSV_SPECIALITY_CODE_UNIQUE_KEY, new TableField[] { EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY.CODE }, true);
    public static final ForeignKey<CitizenEducationDiplomaRecord, EducationMinobrDocTypeRecord> CITIZEN_EDUCATION_DIPLOMA__CITIZEN_EDUCATION_DIPLOMA_MINOBR_DOC_TYPE_CODE_FK = Internal.createForeignKey(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_minobr_doc_type_code_fk"), new TableField[] { CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA.DOC_TYPE_CODE_MINOBR }, Keys.EDUCATION_MINOBR_DOC_TYPE_CODE_UNIQUE_KEY, new TableField[] { EducationMinobrDocType.EDUCATION_MINOBR_DOC_TYPE.CODE }, true);
    public static final ForeignKey<CitizenForeignEducationDiplomaRecord, EducationLevelRecord> CITIZEN_FOREIGN_EDUCATION_DIPLOMA__CITIZEN_EDUCATION_DIPLOMA_EDUCATION_LEVEL_CODE_FK = Internal.createForeignKey(CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_education_level_code_fk"), new TableField[] { CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA.EDUCATION_LEVEL_CODE }, Keys.EDUCATION_LEVEL_CODE_UNIQUE_KEY, new TableField[] { EducationLevel.EDUCATION_LEVEL.CODE }, true);
    public static final ForeignKey<CitizenForeignEducationDiplomaRecord, EducationMinprosvSpecialityRecord> CITIZEN_FOREIGN_EDUCATION_DIPLOMA__CITIZEN_EDUCATION_DIPLOMA_EDUCATION_MINPROSV_SPECIALITY_CODE_FK = Internal.createForeignKey(CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA, DSL.name("citizen_education_diploma_education_minprosv_speciality_code_fk"), new TableField[] { CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA.EDUCATION_SPECIALITY_MINPROSV_CODE }, Keys.EDUCATION_MINPROSV_SPECIALITY_CODE_UNIQUE_KEY, new TableField[] { EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY.CODE }, true);
    public static final ForeignKey<CitizenForeignEducationDiplomaRecord, CountryOksmRecord> CITIZEN_FOREIGN_EDUCATION_DIPLOMA__CITIZEN_FOREIGN_EDUCATION_DIPLOMA_COUNTRY_OKSM_CODE_FK = Internal.createForeignKey(CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA, DSL.name("citizen_foreign_education_diploma_country_oksm_code_fk"), new TableField[] { CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA.OKSM_CODE }, Keys.COUNTRY_OKSM_CODE_UNIQUE_KEY, new TableField[] { CountryOksm.COUNTRY_OKSM.CODE }, true);
    public static final ForeignKey<CitizenForeignEducationDiplomaRecord, EducationMinobrSpecialityRecord> CITIZEN_FOREIGN_EDUCATION_DIPLOMA__CITIZEN_FOREIGN_EDUCATION_DIPLOMA_EDUCATION_MINOBR_SPECIALITY_C = Internal.createForeignKey(CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA, DSL.name("citizen_foreign_education_diploma_education_minobr_speciality_c"), new TableField[] { CitizenForeignEducationDiploma.CITIZEN_FOREIGN_EDUCATION_DIPLOMA.EDUCATION_SPECIALITY_MINPOBR_CODE }, Keys.EDUCATION_MINOBR_SPECIALITY_CODE_UNIQUE_KEY, new TableField[] { EducationMinobrSpeciality.EDUCATION_MINOBR_SPECIALITY.CODE }, true);
}
