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


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.ratings.tables.AppearSubppoena;
import ru.micord.ervu_dashboard.db_beans.ratings.tables.ConscriptionInfo;
import ru.micord.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ru.micord.ervu_dashboard.db_beans.ratings.tables.records.AppearSubppoenaRecord;
import ru.micord.ervu_dashboard.db_beans.ratings.tables.records.ConscriptionInfoRecord;
import ru.micord.ervu_dashboard.db_beans.ratings.tables.records.ConsiderationComplaintRecord;


/**
 * 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_REGION, AppearSubppoena.APPEAR_SUBPPOENA.RECORDING_DATE }, true);
    public static final UniqueKey<ConscriptionInfoRecord> PK_CONSCRIPTION_INFO = Internal.createUniqueKey(ConscriptionInfo.CONSCRIPTION_INFO, DSL.name("pk_conscription_info"), new TableField[] { ConscriptionInfo.CONSCRIPTION_INFO.CONSCRIPTION_INFO_ID }, true);
    public static final UniqueKey<ConscriptionInfoRecord> UNIQUE_REGION_DATE_SEASON = Internal.createUniqueKey(ConscriptionInfo.CONSCRIPTION_INFO, DSL.name("unique_region_date_season"), new TableField[] { ConscriptionInfo.CONSCRIPTION_INFO.ID_REGION, ConscriptionInfo.CONSCRIPTION_INFO.RECORDING_DATE, ConscriptionInfo.CONSCRIPTION_INFO.SPRING_AUTUMN }, 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_REGION, ConsiderationComplaint.CONSIDERATION_COMPLAINT.RECORDING_DATE }, true);
}
