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


import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign;

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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
     */
    public void setIdRecruitmentCampaign(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
     */
    public Long getIdRecruitmentCampaign() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>main_dashboard.recruitment_campaign.new_recruits</code>.
     * Подпадающие под призыв
     */
    public void setNewRecruits(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for <code>main_dashboard.recruitment_campaign.new_recruits</code>.
     * Подпадающие под призыв
     */
    public BigDecimal getNewRecruits() {
        return (BigDecimal) get(1);
    }

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

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.subpoenas_sent</code>.
     * Направлено повесток
     */
    public BigDecimal getSubpoenasSent() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas</code>.
     * Явились по повесткам
     */
    public void setAppearedOnSubpoenas(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas</code>.
     * Явились по повесткам
     */
    public BigDecimal getAppearedOnSubpoenas() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas</code>.
     * Не явились по повесткам
     */
    public void setNotAppearedOnSubpoenas(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas</code>.
     * Не явились по повесткам
     */
    public BigDecimal getNotAppearedOnSubpoenas() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.postponement_have_right</code>.
     * Имеют право на отсрочку
     */
    public void setPostponementHaveRight(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.postponement_have_right</code>.
     * Имеют право на отсрочку
     */
    public BigDecimal getPostponementHaveRight() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.postponement_granted</code>.
     * Предоставлена отсрочка
     */
    public void setPostponementGranted(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.postponement_granted</code>.
     * Предоставлена отсрочка
     */
    public BigDecimal getPostponementGranted() {
        return (BigDecimal) get(6);
    }

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

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

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

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

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas_percent</code>.
     * Явились по повесткам процент
     */
    public void setAppearedOnSubpoenasPercent(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas_percent</code>.
     * Явились по повесткам процент
     */
    public BigDecimal getAppearedOnSubpoenasPercent() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas_percent</code>.
     * Не явились по повесткам процент
     */
    public void setNotAppearedOnSubpoenasPercent(BigDecimal value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas_percent</code>.
     * Не явились по повесткам процент
     */
    public BigDecimal getNotAppearedOnSubpoenasPercent() {
        return (BigDecimal) get(10);
    }

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.postponement_have_right_percent</code>.
     * Имеют право на отсрочку процент
     */
    public void setPostponementHaveRightPercent(BigDecimal value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.postponement_have_right_percent</code>.
     * Имеют право на отсрочку процент
     */
    public BigDecimal getPostponementHaveRightPercent() {
        return (BigDecimal) get(11);
    }

    /**
     * Setter for
     * <code>main_dashboard.recruitment_campaign.postponement_granted_percent</code>.
     * Предоставлена отсрочка процент
     */
    public void setPostponementGrantedPercent(BigDecimal value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>main_dashboard.recruitment_campaign.postponement_granted_percent</code>.
     * Предоставлена отсрочка процент
     */
    public BigDecimal getPostponementGrantedPercent() {
        return (BigDecimal) get(12);
    }

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

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

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

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

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

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

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

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

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

    /**
     * Create a detached RecruitmentCampaignRecord
     */
    public RecruitmentCampaignRecord() {
        super(RecruitmentCampaign.RECRUITMENT_CAMPAIGN);
    }

    /**
     * Create a detached, initialised RecruitmentCampaignRecord
     */
    public RecruitmentCampaignRecord(Long idRecruitmentCampaign, BigDecimal newRecruits, BigDecimal subpoenasSent, BigDecimal appearedOnSubpoenas, BigDecimal notAppearedOnSubpoenas, BigDecimal postponementHaveRight, BigDecimal postponementGranted, Date recordingDate, String springAutumn, BigDecimal appearedOnSubpoenasPercent, BigDecimal notAppearedOnSubpoenasPercent, BigDecimal postponementHaveRightPercent, BigDecimal postponementGrantedPercent, UUID recruitmentId, String testrecruitmentId, String testspringAutumn) {
        super(RecruitmentCampaign.RECRUITMENT_CAMPAIGN);

        setIdRecruitmentCampaign(idRecruitmentCampaign);
        setNewRecruits(newRecruits);
        setSubpoenasSent(subpoenasSent);
        setAppearedOnSubpoenas(appearedOnSubpoenas);
        setNotAppearedOnSubpoenas(notAppearedOnSubpoenas);
        setPostponementHaveRight(postponementHaveRight);
        setPostponementGranted(postponementGranted);
        setRecordingDate(recordingDate);
        setSpringAutumn(springAutumn);
        setAppearedOnSubpoenasPercent(appearedOnSubpoenasPercent);
        setNotAppearedOnSubpoenasPercent(notAppearedOnSubpoenasPercent);
        setPostponementHaveRightPercent(postponementHaveRightPercent);
        setPostponementGrantedPercent(postponementGrantedPercent);
        setRecruitmentId(recruitmentId);
        setTestrecruitmentId(testrecruitmentId);
        setTestspringAutumn(testspringAutumn);
        resetChangedOnNotNull();
    }
}
