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


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

import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;

import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenEducationDiploma;


/**
 * Диплом/аттестат гражданина
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenEducationDiplomaRecord extends UpdatableRecordImpl<CitizenEducationDiplomaRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.citizen_education_diploma_id</code>.
     */
    public void setCitizenEducationDiplomaId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.citizen_education_diploma_id</code>.
     */
    public Long getCitizenEducationDiplomaId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.education_speciality_code</code>.
     * Код специальности
     */
    public void setEducationSpecialityCode(String value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.education_speciality_code</code>.
     * Код специальности
     */
    public String getEducationSpecialityCode() {
        return (String) get(1);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.issue_date</code>. Дата
     * выдачи
     */
    public void setIssueDate(Date value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.issue_date</code>. Дата
     * выдачи
     */
    public Date getIssueDate() {
        return (Date) get(2);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.education_institution_name</code>.
     * Наименование образовательного учреждения
     */
    public void setEducationInstitutionName(String value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.education_institution_name</code>.
     * Наименование образовательного учреждения
     */
    public String getEducationInstitutionName() {
        return (String) get(3);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.education_level_code</code>.
     * Код уровня образования
     */
    public void setEducationLevelCode(String value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.education_level_code</code>.
     * Код уровня образования
     */
    public String getEducationLevelCode() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.reg_number</code>.
     * Регистрационный номер документа об образовании
     */
    public void setRegNumber(String value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.reg_number</code>.
     * Регистрационный номер документа об образовании
     */
    public String getRegNumber() {
        return (String) get(5);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.vus_spec</code>. Признак
     * наличия специальности/направления подготовки/профессии относящейся       
     *                 к перечню, при наличии которых граждане женского пола
     * получают                        военно-учетные специальности и подлежат
     * постановке на воинский учет
     */
    public void setVusSpec(Boolean value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.vus_spec</code>. Признак
     * наличия специальности/направления подготовки/профессии относящейся       
     *                 к перечню, при наличии которых граждане женского пола
     * получают                        военно-учетные специальности и подлежат
     * постановке на воинский учет
     */
    public Boolean getVusSpec() {
        return (Boolean) get(6);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.blank_number</code>. Номер
     * бланка документа об образовании
     */
    public void setBlankNumber(String value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.blank_number</code>. Номер
     * бланка документа об образовании
     */
    public String getBlankNumber() {
        return (String) get(7);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.blank_series</code>. Серия
     * бланка документа об образовании
     */
    public void setBlankSeries(String value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.blank_series</code>. Серия
     * бланка документа об образовании
     */
    public String getBlankSeries() {
        return (String) get(8);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.doc_type_code_minobr</code>.
     * Код вида документа минобразования
     */
    public void setDocTypeCodeMinobr(String value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.doc_type_code_minobr</code>.
     * Код вида документа минобразования
     */
    public String getDocTypeCodeMinobr() {
        return (String) get(9);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.doc_type_code_minprosv</code>.
     * Код вида документа минобразования
     */
    public void setDocTypeCodeMinprosv(String value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.doc_type_code_minprosv</code>.
     * Код вида документа минобразования
     */
    public String getDocTypeCodeMinprosv() {
        return (String) get(10);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.education_speciality_minpobr_code</code>.
     * Код вида документа минобразования
     */
    public void setEducationSpecialityMinpobrCode(String value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.education_speciality_minpobr_code</code>.
     * Код вида документа минобразования
     */
    public String getEducationSpecialityMinpobrCode() {
        return (String) get(11);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.education_speciality_minprosv_code</code>.
     * Код вида документа минобразования
     */
    public void setEducationSpecialityMinprosvCode(String value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.education_speciality_minprosv_code</code>.
     * Код вида документа минобразования
     */
    public String getEducationSpecialityMinprosvCode() {
        return (String) get(12);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_education_diploma.recruit_id</code>.
     * Идентификатор рекрута
     */
    public void setRecruitId(UUID value) {
        set(13, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_education_diploma.recruit_id</code>.
     * Идентификатор рекрута
     */
    public UUID getRecruitId() {
        return (UUID) get(13);
    }

    // -------------------------------------------------------------------------
    // Primary key information
    // -------------------------------------------------------------------------

    @Override
    public Record1<Long> key() {
        return (Record1) super.key();
    }

    // -------------------------------------------------------------------------
    // Constructors
    // -------------------------------------------------------------------------

    /**
     * Create a detached CitizenEducationDiplomaRecord
     */
    public CitizenEducationDiplomaRecord() {
        super(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA);
    }

    /**
     * Create a detached, initialised CitizenEducationDiplomaRecord
     */
    public CitizenEducationDiplomaRecord(Long citizenEducationDiplomaId, String educationSpecialityCode, Date issueDate, String educationInstitutionName, String educationLevelCode, String regNumber, Boolean vusSpec, String blankNumber, String blankSeries, String docTypeCodeMinobr, String docTypeCodeMinprosv, String educationSpecialityMinpobrCode, String educationSpecialityMinprosvCode, UUID recruitId) {
        super(CitizenEducationDiploma.CITIZEN_EDUCATION_DIPLOMA);

        setCitizenEducationDiplomaId(citizenEducationDiplomaId);
        setEducationSpecialityCode(educationSpecialityCode);
        setIssueDate(issueDate);
        setEducationInstitutionName(educationInstitutionName);
        setEducationLevelCode(educationLevelCode);
        setRegNumber(regNumber);
        setVusSpec(vusSpec);
        setBlankNumber(blankNumber);
        setBlankSeries(blankSeries);
        setDocTypeCodeMinobr(docTypeCodeMinobr);
        setDocTypeCodeMinprosv(docTypeCodeMinprosv);
        setEducationSpecialityMinpobrCode(educationSpecialityMinpobrCode);
        setEducationSpecialityMinprosvCode(educationSpecialityMinprosvCode);
        setRecruitId(recruitId);
        resetChangedOnNotNull();
    }
}
