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


import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.EducationLevel;

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

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


/**
 * Уровень образования состоящих/не состоящих, мужчин/женщин/всех на учете
 * уровень РФ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EducationLevelRecord extends UpdatableRecordImpl<EducationLevelRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>total_registered.education_level.id_education_level</code>.
     */
    public void setIdEducationLevel(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>total_registered.education_level.id_education_level</code>.
     */
    public Long getIdEducationLevel() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>total_registered.education_level.higher</code>. Высшее
     * образование
     */
    public void setHigher(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for <code>total_registered.education_level.higher</code>. Высшее
     * образование
     */
    public BigDecimal getHigher() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for <code>total_registered.education_level.average</code>. Среднее
     * профессиональное
     */
    public void setAverage(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for <code>total_registered.education_level.average</code>. Среднее
     * профессиональное
     */
    public BigDecimal getAverage() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for <code>total_registered.education_level.all_M_W</code>.
     * Все/Мужчины/Женщины
     */
    public void setAllMW(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>total_registered.education_level.all_M_W</code>.
     * Все/Мужчины/Женщины
     */
    public String getAllMW() {
        return (String) get(3);
    }

    /**
     * Setter for <code>total_registered.education_level.only_general</code>.
     * Только общее
     */
    public void setOnlyGeneral(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>total_registered.education_level.only_general</code>.
     * Только общее
     */
    public BigDecimal getOnlyGeneral() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>total_registered.education_level.no_data</code>. Нет
     * данных
     */
    public void setNoData(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>total_registered.education_level.no_data</code>. Нет
     * данных
     */
    public BigDecimal getNoData() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for <code>total_registered.education_level.recording_date</code>.
     * Дата записи
     */
    public void setRecordingDate(Date value) {
        set(6, value);
    }

    /**
     * Getter for <code>total_registered.education_level.recording_date</code>.
     * Дата записи
     */
    public Date getRecordingDate() {
        return (Date) get(6);
    }

    /**
     * Setter for <code>total_registered.education_level.higher_percent</code>.
     * Высшее образование в процентах
     */
    public void setHigherPercent(BigDecimal value) {
        set(7, value);
    }

    /**
     * Getter for <code>total_registered.education_level.higher_percent</code>.
     * Высшее образование в процентах
     */
    public BigDecimal getHigherPercent() {
        return (BigDecimal) get(7);
    }

    /**
     * Setter for <code>total_registered.education_level.average_percent</code>.
     * Среднее профессиональное в процентах
     */
    public void setAveragePercent(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for <code>total_registered.education_level.average_percent</code>.
     * Среднее профессиональное в процентах
     */
    public BigDecimal getAveragePercent() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for
     * <code>total_registered.education_level.only_general_percent</code>.
     * Только общее в процентах
     */
    public void setOnlyGeneralPercent(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>total_registered.education_level.only_general_percent</code>.
     * Только общее в процентах
     */
    public BigDecimal getOnlyGeneralPercent() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for <code>total_registered.education_level.no_data_percent</code>.
     * Нет данных об образованиии в процентах
     */
    public void setNoDataPercent(BigDecimal value) {
        set(10, value);
    }

    /**
     * Getter for <code>total_registered.education_level.no_data_percent</code>.
     * Нет данных об образованиии в процентах
     */
    public BigDecimal getNoDataPercent() {
        return (BigDecimal) get(10);
    }

    /**
     * Setter for <code>total_registered.education_level.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(11, value);
    }

    /**
     * Getter for <code>total_registered.education_level.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(11);
    }

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

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

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

    /**
     * Create a detached EducationLevelRecord
     */
    public EducationLevelRecord() {
        super(EducationLevel.EDUCATION_LEVEL);
    }

    /**
     * Create a detached, initialised EducationLevelRecord
     */
    public EducationLevelRecord(Long idEducationLevel, BigDecimal higher, BigDecimal average, String allMW, BigDecimal onlyGeneral, BigDecimal noData, Date recordingDate, BigDecimal higherPercent, BigDecimal averagePercent, BigDecimal onlyGeneralPercent, BigDecimal noDataPercent, UUID recruitmentId) {
        super(EducationLevel.EDUCATION_LEVEL);

        setIdEducationLevel(idEducationLevel);
        setHigher(higher);
        setAverage(average);
        setAllMW(allMW);
        setOnlyGeneral(onlyGeneral);
        setNoData(noData);
        setRecordingDate(recordingDate);
        setHigherPercent(higherPercent);
        setAveragePercent(averagePercent);
        setOnlyGeneralPercent(onlyGeneralPercent);
        setNoDataPercent(noDataPercent);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
