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


import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas;

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 SubpoenasRecord extends UpdatableRecordImpl<SubpoenasRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>recruitment_campaign.subpoenas.id_subpoena</code>.
     */
    public void setIdSubpoena(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.id_subpoena</code>.
     */
    public Long getIdSubpoena() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.subpoena</code>.
     * Направлено повесток
     */
    public void setSubpoena(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.subpoena</code>.
     * Направлено повесток
     */
    public BigDecimal getSubpoena() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.appeared</code>. Явились
     */
    public void setAppeared(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.appeared</code>. Явились
     */
    public BigDecimal getAppeared() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.not_appeared</code>. Не
     * явились
     */
    public void setNotAppeared(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.not_appeared</code>. Не
     * явились
     */
    public BigDecimal getNotAppeared() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.not_ap_good_reason</code>. Не
     * явились по уважительной причине
     */
    public void setNotApGoodReason(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.not_ap_good_reason</code>. Не
     * явились по уважительной причине
     */
    public BigDecimal getNotApGoodReason() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.ap_not_required</code>.
     * Явка не требуется
     */
    public void setApNotRequired(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.ap_not_required</code>.
     * Явка не требуется
     */
    public BigDecimal getApNotRequired() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.restrictions_applied</code>.
     * Наложено ограничений
     */
    public void setRestrictionsApplied(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.restrictions_applied</code>.
     * Наложено ограничений
     */
    public BigDecimal getRestrictionsApplied() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.spring_autumn</code>.
     * Весна/Осень
     */
    public void setSpringAutumn(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.spring_autumn</code>.
     * Весна/Осень
     */
    public String getSpringAutumn() {
        return (String) get(7);
    }

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

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

    /**
     * Setter for <code>recruitment_campaign.subpoenas.appeared_percent</code>.
     * Процент явившихся
     */
    public void setAppearedPercent(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.appeared_percent</code>.
     * Процент явившихся
     */
    public BigDecimal getAppearedPercent() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.not_appeared_percent</code>. Процент
     * не явившихся
     */
    public void setNotAppearedPercent(BigDecimal value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.not_appeared_percent</code>. Процент
     * не явившихся
     */
    public BigDecimal getNotAppearedPercent() {
        return (BigDecimal) get(10);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.not_ap_good_reason_percent</code>.
     * Процент не явившихся по уважительной причине
     */
    public void setNotApGoodReasonPercent(BigDecimal value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.not_ap_good_reason_percent</code>.
     * Процент не явившихся по уважительной причине
     */
    public BigDecimal getNotApGoodReasonPercent() {
        return (BigDecimal) get(11);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.ap_not_required_percent</code>.
     * Процент тех, где явка не требуется
     */
    public void setApNotRequiredPercent(BigDecimal value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.ap_not_required_percent</code>.
     * Процент тех, где явка не требуется
     */
    public BigDecimal getApNotRequiredPercent() {
        return (BigDecimal) get(12);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.restrictions_applied_percent</code>.
     * Наложено ограничений
     */
    public void setRestrictionsAppliedPercent(BigDecimal value) {
        set(13, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.restrictions_applied_percent</code>.
     * Наложено ограничений
     */
    public BigDecimal getRestrictionsAppliedPercent() {
        return (BigDecimal) get(13);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.introduced_measures</code>. Введено
     * реализатором мер
     */
    public void setIntroducedMeasures(BigDecimal value) {
        set(14, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.introduced_measures</code>. Введено
     * реализатором мер
     */
    public BigDecimal getIntroducedMeasures() {
        return (BigDecimal) get(14);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.introduced_measures_percent</code>.
     * Процент введенных реализатором мер
     */
    public void setIntroducedMeasuresPercent(BigDecimal value) {
        set(15, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.introduced_measures_percent</code>.
     * Процент введенных реализатором мер
     */
    public BigDecimal getIntroducedMeasuresPercent() {
        return (BigDecimal) get(15);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(16, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(16);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.rest</code>. Остальные
     */
    public void setRest(BigDecimal value) {
        set(17, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.rest</code>. Остальные
     */
    public BigDecimal getRest() {
        return (BigDecimal) get(17);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.subpoenas.testrecruitment_id</code>.
     */
    public void setTestrecruitmentId(String value) {
        set(18, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.subpoenas.testrecruitment_id</code>.
     */
    public String getTestrecruitmentId() {
        return (String) get(18);
    }

    /**
     * Setter for <code>recruitment_campaign.subpoenas.testspring_autumn</code>.
     */
    public void setTestspringAutumn(String value) {
        set(19, value);
    }

    /**
     * Getter for <code>recruitment_campaign.subpoenas.testspring_autumn</code>.
     */
    public String getTestspringAutumn() {
        return (String) get(19);
    }

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

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

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

    /**
     * Create a detached SubpoenasRecord
     */
    public SubpoenasRecord() {
        super(Subpoenas.SUBPOENAS);
    }

    /**
     * Create a detached, initialised SubpoenasRecord
     */
    public SubpoenasRecord(Long idSubpoena, BigDecimal subpoena, BigDecimal appeared, BigDecimal notAppeared, BigDecimal notApGoodReason, BigDecimal apNotRequired, BigDecimal restrictionsApplied, String springAutumn, Date recordingDate, BigDecimal appearedPercent, BigDecimal notAppearedPercent, BigDecimal notApGoodReasonPercent, BigDecimal apNotRequiredPercent, BigDecimal restrictionsAppliedPercent, BigDecimal introducedMeasures, BigDecimal introducedMeasuresPercent, UUID recruitmentId, BigDecimal rest, String testrecruitmentId, String testspringAutumn) {
        super(Subpoenas.SUBPOENAS);

        setIdSubpoena(idSubpoena);
        setSubpoena(subpoena);
        setAppeared(appeared);
        setNotAppeared(notAppeared);
        setNotApGoodReason(notApGoodReason);
        setApNotRequired(apNotRequired);
        setRestrictionsApplied(restrictionsApplied);
        setSpringAutumn(springAutumn);
        setRecordingDate(recordingDate);
        setAppearedPercent(appearedPercent);
        setNotAppearedPercent(notAppearedPercent);
        setNotApGoodReasonPercent(notApGoodReasonPercent);
        setApNotRequiredPercent(apNotRequiredPercent);
        setRestrictionsAppliedPercent(restrictionsAppliedPercent);
        setIntroducedMeasures(introducedMeasures);
        setIntroducedMeasuresPercent(introducedMeasuresPercent);
        setRecruitmentId(recruitmentId);
        setRest(rest);
        setTestrecruitmentId(testrecruitmentId);
        setTestspringAutumn(testspringAutumn);
        resetChangedOnNotNull();
    }
}
