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


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

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


/**
 * Справочник специальности минпросвещения
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EducationMinprosvSpecialityRecord extends UpdatableRecordImpl<EducationMinprosvSpecialityRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>ervu_dashboard.education_minprosv_speciality.education_minprosv_speciality_id</code>.
     */
    public void setEducationMinprosvSpecialityId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.education_minprosv_speciality.education_minprosv_speciality_id</code>.
     */
    public Long getEducationMinprosvSpecialityId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.education_minprosv_speciality.code</code>.
     * Cправочный код
     */
    public void setCode(String value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.education_minprosv_speciality.code</code>.
     * Cправочный код
     */
    public String getCode() {
        return (String) get(1);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.education_minprosv_speciality.value</code>. Значение
     */
    public void setValue(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.education_minprosv_speciality.value</code>. Значение
     */
    public String getValue() {
        return (String) get(2);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.education_minprosv_speciality.description</code>.
     * Описание
     */
    public void setDescription(String value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.education_minprosv_speciality.description</code>.
     * Описание
     */
    public String getDescription() {
        return (String) get(3);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.education_minprosv_speciality.actual</code>. Признак
     * актуальности справочного значения
     */
    public void setActual(Boolean value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.education_minprosv_speciality.actual</code>. Признак
     * актуальности справочного значения
     */
    public Boolean getActual() {
        return (Boolean) get(4);
    }

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

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

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

    /**
     * Create a detached EducationMinprosvSpecialityRecord
     */
    public EducationMinprosvSpecialityRecord() {
        super(EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY);
    }

    /**
     * Create a detached, initialised EducationMinprosvSpecialityRecord
     */
    public EducationMinprosvSpecialityRecord(Long educationMinprosvSpecialityId, String code, String value, String description, Boolean actual) {
        super(EducationMinprosvSpeciality.EDUCATION_MINPROSV_SPECIALITY);

        setEducationMinprosvSpecialityId(educationMinprosvSpecialityId);
        setCode(code);
        setValue(value);
        setDescription(description);
        setActual(actual);
        resetChangedOnNotNull();
    }
}
