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


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.summonses_list_subsystem.tables.PersonalAccounts;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.RequestsDirectToPersAcc;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.SummonsesDirectToPersAcc;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.records.PersonalAccountsRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.records.RequestsDirectToPersAccRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.records.SummonsesDirectToPersAccRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.records.SummonsesListRecord;


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

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

    public static final UniqueKey<PersonalAccountsRecord> PERSONAL_ACCOUNTS_PKEY = Internal.createUniqueKey(PersonalAccounts.PERSONAL_ACCOUNTS, DSL.name("personal_accounts_pkey"), new TableField[] { PersonalAccounts.PERSONAL_ACCOUNTS.PERSONAL_ACCOUNTS_ID }, true);
    public static final UniqueKey<RequestsDirectToPersAccRecord> REQUESTS_DIRECT_TO_PERS_ACC_PKEY = Internal.createUniqueKey(RequestsDirectToPersAcc.REQUESTS_DIRECT_TO_PERS_ACC, DSL.name("requests_direct_to_pers_acc_pkey"), new TableField[] { RequestsDirectToPersAcc.REQUESTS_DIRECT_TO_PERS_ACC.REQUESTS_DIRECT_TO_PERS_ACC_ID }, true);
    public static final UniqueKey<SummonsesDirectToPersAccRecord> SUMMONSES_DIRECT_TO_PERS_ACC_PKEY = Internal.createUniqueKey(SummonsesDirectToPersAcc.SUMMONSES_DIRECT_TO_PERS_ACC, DSL.name("summonses_direct_to_pers_acc_pkey"), new TableField[] { SummonsesDirectToPersAcc.SUMMONSES_DIRECT_TO_PERS_ACC.SUMMONSES_DIRECT_TO_PERS_ACC_ID }, true);
    public static final UniqueKey<SummonsesListRecord> SUMMONSES_LIST_PKEY = Internal.createUniqueKey(SummonsesList.SUMMONSES_LIST, DSL.name("summonses_list_pkey"), new TableField[] { SummonsesList.SUMMONSES_LIST.SUMMONSES_LIST_ID }, true);

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

    public static final ForeignKey<PersonalAccountsRecord, RecruitmentRecord> PERSONAL_ACCOUNTS__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(PersonalAccounts.PERSONAL_ACCOUNTS, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { PersonalAccounts.PERSONAL_ACCOUNTS.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<RequestsDirectToPersAccRecord, RecruitmentRecord> REQUESTS_DIRECT_TO_PERS_ACC__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(RequestsDirectToPersAcc.REQUESTS_DIRECT_TO_PERS_ACC, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { RequestsDirectToPersAcc.REQUESTS_DIRECT_TO_PERS_ACC.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<SummonsesDirectToPersAccRecord, RecruitmentRecord> SUMMONSES_DIRECT_TO_PERS_ACC__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(SummonsesDirectToPersAcc.SUMMONSES_DIRECT_TO_PERS_ACC, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { SummonsesDirectToPersAcc.SUMMONSES_DIRECT_TO_PERS_ACC.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
    public static final ForeignKey<SummonsesListRecord, RecruitmentRecord> SUMMONSES_LIST__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(SummonsesList.SUMMONSES_LIST, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { SummonsesList.SUMMONSES_LIST.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
}
