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


import java.sql.Date;
import java.util.Collection;
import java.util.UUID;

import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Identity;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;

import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenEducationDiplomasReceivedRecord;


/**
 * Сведения об образовании и полученных дипломах
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenEducationDiplomasReceived extends TableImpl<CitizenEducationDiplomasReceivedRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of
     * <code>ervu_dashboard.citizen_education_diplomas_received</code>
     */
    public static final CitizenEducationDiplomasReceived CITIZEN_EDUCATION_DIPLOMAS_RECEIVED = new CitizenEducationDiplomasReceived();

    /**
     * The class holding records for this type
     */
    @Override
    public Class<CitizenEducationDiplomasReceivedRecord> getRecordType() {
        return CitizenEducationDiplomasReceivedRecord.class;
    }

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.citizen_education_diplomas_received_id</code>.
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Long> CITIZEN_EDUCATION_DIPLOMAS_RECEIVED_ID = createField(DSL.name("citizen_education_diplomas_received_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.type_organization</code>.
     * Тип организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> TYPE_ORGANIZATION = createField(DSL.name("type_organization"), SQLDataType.VARCHAR, this, "Тип организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_edu_organization</code>.
     * Наименование образовательной организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_EDU_ORGANIZATION = createField(DSL.name("name_edu_organization"), SQLDataType.VARCHAR, this, "Наименование образовательной организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.inn</code>. ИНН
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR, this, "ИНН");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.ogrn</code>.
     * ОГРН / ОГРНИП
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> OGRN = createField(DSL.name("ogrn"), SQLDataType.VARCHAR, this, "ОГРН / ОГРНИП");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.kpp</code>. КПП
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR, this, "КПП");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.address_edu_organization</code>.
     * Адрес образовательной организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> ADDRESS_EDU_ORGANIZATION = createField(DSL.name("address_edu_organization"), SQLDataType.VARCHAR, this, "Адрес образовательной организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.status_organization</code>.
     * Статус организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> STATUS_ORGANIZATION = createField(DSL.name("status_organization"), SQLDataType.VARCHAR, this, "Статус организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.type_separate_division</code>.
     * Вид обособленного подразделения образовательной организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> TYPE_SEPARATE_DIVISION = createField(DSL.name("type_separate_division"), SQLDataType.VARCHAR, this, "Вид обособленного подразделения образовательной организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.address_separate_division</code>.
     * Адрес обособленного подразделения образовательной организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> ADDRESS_SEPARATE_DIVISION = createField(DSL.name("address_separate_division"), SQLDataType.VARCHAR, this, "Адрес обособленного подразделения образовательной организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.student_status</code>.
     * Статус обучающегося
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> STUDENT_STATUS = createField(DSL.name("student_status"), SQLDataType.VARCHAR, this, "Статус обучающегося");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.education_level_student</code>.
     * Уровень образования (студент)
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> EDUCATION_LEVEL_STUDENT = createField(DSL.name("education_level_student"), SQLDataType.VARCHAR, this, "Уровень образования (студент)");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.course_training</code>.
     * Курс (класс) обучения
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> COURSE_TRAINING = createField(DSL.name("course_training"), SQLDataType.VARCHAR, this, "Курс (класс) обучения");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.education_program_code</code>.
     * Код образовательной программы
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> EDUCATION_PROGRAM_CODE = createField(DSL.name("education_program_code"), SQLDataType.VARCHAR, this, "Код образовательной программы");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_education_program</code>.
     * Наименование образовательной программы
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_EDUCATION_PROGRAM = createField(DSL.name("name_education_program"), SQLDataType.VARCHAR, this, "Наименование образовательной программы");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.form_study</code>.
     * Форма обучения
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> FORM_STUDY = createField(DSL.name("form_study"), SQLDataType.VARCHAR, this, "Форма обучения");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.receiving_education_first_time</code>.
     * Сведения о получении образования впервые
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> RECEIVING_EDUCATION_FIRST_TIME = createField(DSL.name("receiving_education_first_time"), SQLDataType.VARCHAR, this, "Сведения о получении образования впервые");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.obtaining_vus</code>.
     * Сведения о получении ВУС
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> OBTAINING_VUS = createField(DSL.name("obtaining_vus"), SQLDataType.VARCHAR, this, "Сведения о получении ВУС");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.code_profession</code>.
     * Код профессии, специальности, направления подготовки
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> CODE_PROFESSION = createField(DSL.name("code_profession"), SQLDataType.VARCHAR, this, "Код профессии, специальности, направления подготовки");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_profession</code>.
     * Наименование профессии, специальности, направления подготовки
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_PROFESSION = createField(DSL.name("name_profession"), SQLDataType.VARCHAR, this, "Наименование профессии, специальности, направления подготовки");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.education_level_org</code>.
     * Уровень образования
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> EDUCATION_LEVEL_ORG = createField(DSL.name("education_level_org"), SQLDataType.VARCHAR, this, "Уровень образования");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.start_date_edu</code>.
     * Дата начала обучения
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> START_DATE_EDU = createField(DSL.name("start_date_edu"), SQLDataType.DATE, this, "Дата начала обучения");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.receipt_date</code>.
     * Дата поступления
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> RECEIPT_DATE = createField(DSL.name("receipt_date"), SQLDataType.DATE, this, "Дата поступления");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.planned_graduation_date</code>.
     * Плановая дата окончания обучения
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> PLANNED_GRADUATION_DATE = createField(DSL.name("planned_graduation_date"), SQLDataType.DATE, this, "Плановая дата окончания обучения");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.order_number</code>.
     * Номер приказа о зачислении
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> ORDER_NUMBER = createField(DSL.name("order_number"), SQLDataType.VARCHAR, this, "Номер приказа о зачислении");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.order_date</code>.
     * Дата приказа о зачислении
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> ORDER_DATE = createField(DSL.name("order_date"), SQLDataType.DATE, this, "Дата приказа о зачислении");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.date_deduction</code>.
     * Дата отчисления
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> DATE_DEDUCTION = createField(DSL.name("date_deduction"), SQLDataType.DATE, this, "Дата отчисления");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.order_number_deduction</code>.
     * Номер приказа об отчислении
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> ORDER_NUMBER_DEDUCTION = createField(DSL.name("order_number_deduction"), SQLDataType.VARCHAR, this, "Номер приказа об отчислении");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.order_date_deduction</code>.
     * Дата приказа об отчислении
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> ORDER_DATE_DEDUCTION = createField(DSL.name("order_date_deduction"), SQLDataType.VARCHAR, this, "Дата приказа об отчислении");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.completion_date</code>.
     * Дата завершения обучения
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> COMPLETION_DATE = createField(DSL.name("completion_date"), SQLDataType.DATE, this, "Дата завершения обучения");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.restore_date</code>.
     * Дата восстановления
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> RESTORE_DATE = createField(DSL.name("restore_date"), SQLDataType.DATE, this, "Дата восстановления");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.order_number_restore</code>.
     * Номер приказа о восстановлении
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> ORDER_NUMBER_RESTORE = createField(DSL.name("order_number_restore"), SQLDataType.VARCHAR, this, "Номер приказа о восстановлении");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.order_date_restore</code>.
     * Дата приказа о восстановлении
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> ORDER_DATE_RESTORE = createField(DSL.name("order_date_restore"), SQLDataType.DATE, this, "Дата приказа о восстановлении");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.start_date_training_cur_specialty</code>.
     * Дата начала обучения по текущей специальности
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> START_DATE_TRAINING_CUR_SPECIALTY = createField(DSL.name("start_date_training_cur_specialty"), SQLDataType.DATE, this, "Дата начала обучения по текущей специальности");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.women_obtaining_profession</code>.
     * Сведения о получении профессии, специальности, при наличии которых
     * граждане женского поля получают военно-учётные специальности и подлежат
     * постановке на воинский учет (для граждан женского пола)
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> WOMEN_OBTAINING_PROFESSION = createField(DSL.name("women_obtaining_profession"), SQLDataType.VARCHAR, this, "Сведения о получении профессии, специальности, при наличии которых граждане женского поля получают военно-учётные специальности и подлежат постановке на воинский учет (для граждан женского пола)");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.academic_leave</code>.
     * Наличие академического отпуска
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> ACADEMIC_LEAVE = createField(DSL.name("academic_leave"), SQLDataType.VARCHAR, this, "Наличие академического отпуска");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.start_date_academic</code>.
     * Дата начала академического отпуска
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> START_DATE_ACADEMIC = createField(DSL.name("start_date_academic"), SQLDataType.DATE, this, "Дата начала академического отпуска");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.end_date_academic</code>.
     * Дата окончания академического отпуска
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> END_DATE_ACADEMIC = createField(DSL.name("end_date_academic"), SQLDataType.DATE, this, "Дата окончания академического отпуска");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.maternity_leave</code>.
     * Наличие отпуска по уходу за ребёнком
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> MATERNITY_LEAVE = createField(DSL.name("maternity_leave"), SQLDataType.VARCHAR, this, "Наличие отпуска по уходу за ребёнком");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.start_date_maternity</code>.
     * Дата начала отпуска по уходу за ребенком
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> START_DATE_MATERNITY = createField(DSL.name("start_date_maternity"), SQLDataType.DATE, this, "Дата начала отпуска по уходу за ребенком");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.end_date_maternity</code>.
     * Дата окончания отпуска по уходу за ребенком
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> END_DATE_MATERNITY = createField(DSL.name("end_date_maternity"), SQLDataType.DATE, this, "Дата окончания отпуска по уходу за ребенком");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.start_date_military_center</code>.
     * Дата начала обучения в военнно-учебном центре
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> START_DATE_MILITARY_CENTER = createField(DSL.name("start_date_military_center"), SQLDataType.DATE, this, "Дата начала обучения в военнно-учебном центре");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.end_date_military_center</code>.
     * Дата окончания обучения в военнно-учебном центре 
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> END_DATE_MILITARY_CENTER = createField(DSL.name("end_date_military_center"), SQLDataType.DATE, this, "Дата окончания обучения в военнно-учебном центре ");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.start_date_mil_department</code>.
     * Дата начала обучения на военной кафедре
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> START_DATE_MIL_DEPARTMENT = createField(DSL.name("start_date_mil_department"), SQLDataType.DATE, this, "Дата начала обучения на военной кафедре");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.end_date_mil_department</code>.
     * Дата окончания обучения на военной кафедре
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> END_DATE_MIL_DEPARTMENT = createField(DSL.name("end_date_mil_department"), SQLDataType.DATE, this, "Дата окончания обучения на военной кафедре");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.successful_mil_dep</code>.
     * Сведения об успешном завершении обучения на военных кафедрах
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> SUCCESSFUL_MIL_DEP = createField(DSL.name("successful_mil_dep"), SQLDataType.VARCHAR, this, "Сведения об успешном завершении обучения на военных кафедрах");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.rus_doc_education</code>.
     * Сведения о наличии российского документа об образовании и (или)
     * квалификации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> RUS_DOC_EDUCATION = createField(DSL.name("rus_doc_education"), SQLDataType.VARCHAR, this, "Сведения о наличии российского документа об образовании и (или) квалификации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.education_level_doc_rus</code>.
     * Уровень образования (Российские дипломы)
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> EDUCATION_LEVEL_DOC_RUS = createField(DSL.name("education_level_doc_rus"), SQLDataType.VARCHAR, this, "Уровень образования (Российские дипломы)");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.doc_type_rus</code>.
     * Вид документа
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> DOC_TYPE_RUS = createField(DSL.name("doc_type_rus"), SQLDataType.VARCHAR, this, "Вид документа");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.series_doc_rus</code>.
     * Серия
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> SERIES_DOC_RUS = createField(DSL.name("series_doc_rus"), SQLDataType.VARCHAR, this, "Серия");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.number_doc_rus</code>.
     * Номер
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NUMBER_DOC_RUS = createField(DSL.name("number_doc_rus"), SQLDataType.VARCHAR, this, "Номер");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.reg_number_doc_rus</code>.
     * Регистрационный номер
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> REG_NUMBER_DOC_RUS = createField(DSL.name("reg_number_doc_rus"), SQLDataType.VARCHAR, this, "Регистрационный номер");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.date_issue_doc_rus</code>.
     * Дата выдачи
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> DATE_ISSUE_DOC_RUS = createField(DSL.name("date_issue_doc_rus"), SQLDataType.DATE, this, "Дата выдачи");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_edu_org_doc_rus</code>.
     * Наименование образовательной организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_EDU_ORG_DOC_RUS = createField(DSL.name("name_edu_org_doc_rus"), SQLDataType.VARCHAR, this, "Наименование образовательной организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.code_spec_doc_rus</code>.
     * Код специальности, направления подготовки
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> CODE_SPEC_DOC_RUS = createField(DSL.name("code_spec_doc_rus"), SQLDataType.VARCHAR, this, "Код специальности, направления подготовки");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_spec_doc_rus</code>.
     * Наименование специальности, направления подготовки
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_SPEC_DOC_RUS = createField(DSL.name("name_spec_doc_rus"), SQLDataType.VARCHAR, this, "Наименование специальности, направления подготовки");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.info_vus_doc_rus</code>.
     * Сведения о получении ВУС
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> INFO_VUS_DOC_RUS = createField(DSL.name("info_vus_doc_rus"), SQLDataType.VARCHAR, this, "Сведения о получении ВУС");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.foreign_doc_education</code>.
     * Сведения о наличии иностранного документа об образовании и (или)
     * квалификации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> FOREIGN_DOC_EDUCATION = createField(DSL.name("foreign_doc_education"), SQLDataType.VARCHAR, this, "Сведения о наличии иностранного документа об образовании и (или) квалификации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.education_level_foreign_doc</code>.
     * Уровень образования (Иностранные дипломы)
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> EDUCATION_LEVEL_FOREIGN_DOC = createField(DSL.name("education_level_foreign_doc"), SQLDataType.VARCHAR, this, "Уровень образования (Иностранные дипломы)");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_edu_org_doc_foreign</code>.
     * Наименование образовательной организации
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_EDU_ORG_DOC_FOREIGN = createField(DSL.name("name_edu_org_doc_foreign"), SQLDataType.VARCHAR, this, "Наименование образовательной организации");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_doc_foreign</code>.
     * Наименование иностранного документа
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_DOC_FOREIGN = createField(DSL.name("name_doc_foreign"), SQLDataType.VARCHAR, this, "Наименование иностранного документа");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.series_number_doc_foreign</code>.
     * Серия и номер
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> SERIES_NUMBER_DOC_FOREIGN = createField(DSL.name("series_number_doc_foreign"), SQLDataType.VARCHAR, this, "Серия и номер");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.reg_number_doc_foreign</code>.
     * Регистрационный номер
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> REG_NUMBER_DOC_FOREIGN = createField(DSL.name("reg_number_doc_foreign"), SQLDataType.VARCHAR, this, "Регистрационный номер");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.number_cert_doc_foreign</code>.
     * Номер свидетельства о признании документа
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NUMBER_CERT_DOC_FOREIGN = createField(DSL.name("number_cert_doc_foreign"), SQLDataType.VARCHAR, this, "Номер свидетельства о признании документа");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.date_doc_foreign</code>.
     * Дата признания документа
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, Date> DATE_DOC_FOREIGN = createField(DSL.name("date_doc_foreign"), SQLDataType.DATE, this, "Дата признания документа");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.code_spec_doc_foreign</code>.
     * Код признанной специальности, направления подготовки
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> CODE_SPEC_DOC_FOREIGN = createField(DSL.name("code_spec_doc_foreign"), SQLDataType.VARCHAR, this, "Код признанной специальности, направления подготовки");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_spec_doc_foreign</code>.
     * Наименование признанной специальности, направления подготовки
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_SPEC_DOC_FOREIGN = createField(DSL.name("name_spec_doc_foreign"), SQLDataType.VARCHAR, this, "Наименование признанной специальности, направления подготовки");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.name_country_doc_foreign</code>.
     * Наименование страны, выдавшей документ
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> NAME_COUNTRY_DOC_FOREIGN = createField(DSL.name("name_country_doc_foreign"), SQLDataType.VARCHAR, this, "Наименование страны, выдавшей документ");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.obtaining_vus_doc_foreign</code>.
     * Сведения о получении ВУС
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, String> OBTAINING_VUS_DOC_FOREIGN = createField(DSL.name("obtaining_vus_doc_foreign"), SQLDataType.VARCHAR, this, "Сведения о получении ВУС");

    /**
     * The column
     * <code>ervu_dashboard.citizen_education_diplomas_received.recruit_id</code>.
     * ссылка на гражданина (citizen)
     */
    public final TableField<CitizenEducationDiplomasReceivedRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");

    private CitizenEducationDiplomasReceived(Name alias, Table<CitizenEducationDiplomasReceivedRecord> aliased) {
        this(alias, aliased, (Field<?>[]) null, null);
    }

    private CitizenEducationDiplomasReceived(Name alias, Table<CitizenEducationDiplomasReceivedRecord> aliased, Field<?>[] parameters, Condition where) {
        super(alias, null, aliased, parameters, DSL.comment("Сведения об образовании и полученных дипломах"), TableOptions.table(), where);
    }

    /**
     * Create an aliased
     * <code>ervu_dashboard.citizen_education_diplomas_received</code> table
     * reference
     */
    public CitizenEducationDiplomasReceived(String alias) {
        this(DSL.name(alias), CITIZEN_EDUCATION_DIPLOMAS_RECEIVED);
    }

    /**
     * Create an aliased
     * <code>ervu_dashboard.citizen_education_diplomas_received</code> table
     * reference
     */
    public CitizenEducationDiplomasReceived(Name alias) {
        this(alias, CITIZEN_EDUCATION_DIPLOMAS_RECEIVED);
    }

    /**
     * Create a <code>ervu_dashboard.citizen_education_diplomas_received</code>
     * table reference
     */
    public CitizenEducationDiplomasReceived() {
        this(DSL.name("citizen_education_diplomas_received"), null);
    }

    @Override
    public Schema getSchema() {
        return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
    }

    @Override
    public Identity<CitizenEducationDiplomasReceivedRecord, Long> getIdentity() {
        return (Identity<CitizenEducationDiplomasReceivedRecord, Long>) super.getIdentity();
    }

    @Override
    public UniqueKey<CitizenEducationDiplomasReceivedRecord> getPrimaryKey() {
        return Keys.CITIZEN_EDUCATION_DIPLOMAS_RECEIVED_PKEY;
    }

    @Override
    public CitizenEducationDiplomasReceived as(String alias) {
        return new CitizenEducationDiplomasReceived(DSL.name(alias), this);
    }

    @Override
    public CitizenEducationDiplomasReceived as(Name alias) {
        return new CitizenEducationDiplomasReceived(alias, this);
    }

    @Override
    public CitizenEducationDiplomasReceived as(Table<?> alias) {
        return new CitizenEducationDiplomasReceived(alias.getQualifiedName(), this);
    }

    /**
     * Rename this table
     */
    @Override
    public CitizenEducationDiplomasReceived rename(String name) {
        return new CitizenEducationDiplomasReceived(DSL.name(name), null);
    }

    /**
     * Rename this table
     */
    @Override
    public CitizenEducationDiplomasReceived rename(Name name) {
        return new CitizenEducationDiplomasReceived(name, null);
    }

    /**
     * Rename this table
     */
    @Override
    public CitizenEducationDiplomasReceived rename(Table<?> name) {
        return new CitizenEducationDiplomasReceived(name.getQualifiedName(), null);
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public CitizenEducationDiplomasReceived where(Condition condition) {
        return new CitizenEducationDiplomasReceived(getQualifiedName(), aliased() ? this : null, null, condition);
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public CitizenEducationDiplomasReceived where(Collection<? extends Condition> conditions) {
        return where(DSL.and(conditions));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public CitizenEducationDiplomasReceived where(Condition... conditions) {
        return where(DSL.and(conditions));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public CitizenEducationDiplomasReceived where(Field<Boolean> condition) {
        return where(DSL.condition(condition));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public CitizenEducationDiplomasReceived where(SQL condition) {
        return where(DSL.condition(condition));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public CitizenEducationDiplomasReceived where(@Stringly.SQL String condition) {
        return where(DSL.condition(condition));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public CitizenEducationDiplomasReceived where(@Stringly.SQL String condition, Object... binds) {
        return where(DSL.condition(condition, binds));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public CitizenEducationDiplomasReceived where(@Stringly.SQL String condition, QueryPart... parts) {
        return where(DSL.condition(condition, parts));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public CitizenEducationDiplomasReceived whereExists(Select<?> select) {
        return where(DSL.exists(select));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public CitizenEducationDiplomasReceived whereNotExists(Select<?> select) {
        return where(DSL.notExists(select));
    }
}
