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


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

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

import ru.micord.ervu_dashboard.db_beans.forecast.tables.Enroll;


/**
 * Подлежат постановке на учет
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EnrollRecord extends UpdatableRecordImpl<EnrollRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>forecast.enroll.enroll_id</code>.
     */
    public void setEnrollId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>forecast.enroll.enroll_id</code>.
     */
    public Long getEnrollId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>forecast.enroll.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(1, value);
    }

    /**
     * Getter for <code>forecast.enroll.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(1);
    }

    /**
     * Setter for <code>forecast.enroll.recording_date</code>.
     */
    public void setRecordingDate(Date value) {
        set(2, value);
    }

    /**
     * Getter for <code>forecast.enroll.recording_date</code>.
     */
    public Date getRecordingDate() {
        return (Date) get(2);
    }

    /**
     * Setter for <code>forecast.enroll.schema</code>.
     */
    public void setSchema(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>forecast.enroll.schema</code>.
     */
    public String getSchema() {
        return (String) get(3);
    }

    /**
     * Setter for <code>forecast.enroll.study</code>. Учатся
     */
    public void setStudy(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>forecast.enroll.study</code>. Учатся
     */
    public BigDecimal getStudy() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>forecast.enroll.work</code>. Работают
     */
    public void setWork(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>forecast.enroll.work</code>. Работают
     */
    public BigDecimal getWork() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for <code>forecast.enroll.unemployed</code>. Безработные
     */
    public void setUnemployed(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for <code>forecast.enroll.unemployed</code>. Безработные
     */
    public BigDecimal getUnemployed() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for <code>forecast.enroll.count_17_years</code>. 17 л.
     */
    public void setCount_17Years(BigDecimal value) {
        set(7, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_17_years</code>. 17 л.
     */
    public BigDecimal getCount_17Years() {
        return (BigDecimal) get(7);
    }

    /**
     * Setter for <code>forecast.enroll.count_18_26_years</code>. 18-26 л.
     */
    public void setCount_18_26Years(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_18_26_years</code>. 18-26 л.
     */
    public BigDecimal getCount_18_26Years() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for <code>forecast.enroll.count_27_30_years</code>. 27-30 л.
     */
    public void setCount_27_30Years(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_27_30_years</code>. 27-30 л.
     */
    public BigDecimal getCount_27_30Years() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for <code>forecast.enroll.count_31_35_years</code>. 31-35 л.
     */
    public void setCount_31_35Years(BigDecimal value) {
        set(10, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_31_35_years</code>. 31-35 л.
     */
    public BigDecimal getCount_31_35Years() {
        return (BigDecimal) get(10);
    }

    /**
     * Setter for <code>forecast.enroll.count_36_40_years</code>. 36-40 л.
     */
    public void setCount_36_40Years(BigDecimal value) {
        set(11, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_36_40_years</code>. 36-40 л.
     */
    public BigDecimal getCount_36_40Years() {
        return (BigDecimal) get(11);
    }

    /**
     * Setter for <code>forecast.enroll.count_41_45_years</code>. 41-45 л.
     */
    public void setCount_41_45Years(BigDecimal value) {
        set(12, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_41_45_years</code>. 41-45 л.
     */
    public BigDecimal getCount_41_45Years() {
        return (BigDecimal) get(12);
    }

    /**
     * Setter for <code>forecast.enroll.count_46_50_years</code>. 46-50 л.
     */
    public void setCount_46_50Years(BigDecimal value) {
        set(13, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_46_50_years</code>. 46-50 л.
     */
    public BigDecimal getCount_46_50Years() {
        return (BigDecimal) get(13);
    }

    /**
     * Setter for <code>forecast.enroll.count_51_years</code>. 51+ л.
     */
    public void setCount_51Years(BigDecimal value) {
        set(14, value);
    }

    /**
     * Getter for <code>forecast.enroll.count_51_years</code>. 51+ л.
     */
    public BigDecimal getCount_51Years() {
        return (BigDecimal) get(14);
    }

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

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

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

    /**
     * Create a detached EnrollRecord
     */
    public EnrollRecord() {
        super(Enroll.ENROLL);
    }

    /**
     * Create a detached, initialised EnrollRecord
     */
    public EnrollRecord(Long enrollId, UUID recruitmentId, Date recordingDate, String schema, BigDecimal study, BigDecimal work, BigDecimal unemployed, BigDecimal count_17Years, BigDecimal count_18_26Years, BigDecimal count_27_30Years, BigDecimal count_31_35Years, BigDecimal count_36_40Years, BigDecimal count_41_45Years, BigDecimal count_46_50Years, BigDecimal count_51Years) {
        super(Enroll.ENROLL);

        setEnrollId(enrollId);
        setRecruitmentId(recruitmentId);
        setRecordingDate(recordingDate);
        setSchema(schema);
        setStudy(study);
        setWork(work);
        setUnemployed(unemployed);
        setCount_17Years(count_17Years);
        setCount_18_26Years(count_18_26Years);
        setCount_27_30Years(count_27_30Years);
        setCount_31_35Years(count_31_35Years);
        setCount_36_40Years(count_36_40Years);
        setCount_41_45Years(count_41_45Years);
        setCount_46_50Years(count_46_50Years);
        setCount_51Years(count_51Years);
        resetChangedOnNotNull();
    }
}
