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


import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.AppearSubppoenaRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.ConsiderationComplaintRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.records.RegionRecord;

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


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

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

    public static final UniqueKey<AppearSubppoenaRecord> PK_APPEAR_SUBPPOENA = Internal.createUniqueKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("pk_appear_subppoena"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.ID_APPEAR_SUBPPOENA }, true);
    public static final UniqueKey<ConsiderationComplaintRecord> PK_CONSIDERATION_COMPLAINT = Internal.createUniqueKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("pk_consideration_complaint"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.ID_CONSIDERATION_COMPLAINT }, true);
    public static final UniqueKey<RecruitmentRecord> PK_RECRUITMENT = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("pk_recruitment"), new TableField[] { Recruitment.RECRUITMENT.ID_RECRUITMENT }, true);

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

    public static final ForeignKey<AppearSubppoenaRecord, PubRecruitmentRecord> APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1 = Internal.createForeignKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("appear_subppoena_fk1"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<AppearSubppoenaRecord, RegionRecord> APPEAR_SUBPPOENA__FK_REGION = Internal.createForeignKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("fk_region"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
    public static final ForeignKey<ConsiderationComplaintRecord, PubRecruitmentRecord> CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1 = Internal.createForeignKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("consideration_complaint_fk1"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
    public static final ForeignKey<ConsiderationComplaintRecord, RegionRecord> CONSIDERATION_COMPLAINT__FK_REGION = Internal.createForeignKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("fk_region"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
    public static final ForeignKey<RecruitmentRecord, RegionRecord> RECRUITMENT__FK_REGION = Internal.createForeignKey(Recruitment.RECRUITMENT, DSL.name("fk_region"), new TableField[] { Recruitment.RECRUITMENT.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
    public static final ForeignKey<RecruitmentRecord, PubRecruitmentRecord> RECRUITMENT__R_RECRUITMENT_FK1 = Internal.createForeignKey(Recruitment.RECRUITMENT, DSL.name("r_recruitment_fk1"), new TableField[] { Recruitment.RECRUITMENT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}
