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


import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;

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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>appeals.reasons_appeal.id_reasons_appeal</code>.
     */
    public void setIdReasonsAppeal(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.id_reasons_appeal</code>.
     */
    public Long getIdReasonsAppeal() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>appeals.reasons_appeal.appeal</code>. Обжалования
     */
    public void setAppeal(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.appeal</code>. Обжалования
     */
    public BigDecimal getAppeal() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for <code>appeals.reasons_appeal.incorrect_inf</code>.
     * Некорректные сведения
     */
    public void setIncorrectInf(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.incorrect_inf</code>.
     * Некорректные сведения
     */
    public BigDecimal getIncorrectInf() {
        return (BigDecimal) get(2);
    }

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

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

    /**
     * Setter for <code>appeals.reasons_appeal.other</code>. Прочее
     */
    public void setOther(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.other</code>. Прочее
     */
    public BigDecimal getOther() {
        return (BigDecimal) get(4);
    }

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

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

    /**
     * Setter for <code>appeals.reasons_appeal.incorrect_inf_percent</code>.
     * Некорректные сведения в процентах
     */
    public void setIncorrectInfPercent(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.incorrect_inf_percent</code>.
     * Некорректные сведения в процентах
     */
    public BigDecimal getIncorrectInfPercent() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for <code>appeals.reasons_appeal.no_data_percent</code>. Нет
     * данных в процентах
     */
    public void setNoDataPercent(BigDecimal value) {
        set(7, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.no_data_percent</code>. Нет
     * данных в процентах
     */
    public BigDecimal getNoDataPercent() {
        return (BigDecimal) get(7);
    }

    /**
     * Setter for <code>appeals.reasons_appeal.other_percent</code>. Прочее в
     * процентах
     */
    public void setOtherPercent(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.other_percent</code>. Прочее в
     * процентах
     */
    public BigDecimal getOtherPercent() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for <code>appeals.reasons_appeal.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(9, value);
    }

    /**
     * Getter for <code>appeals.reasons_appeal.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(9);
    }

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

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

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

    /**
     * Create a detached ReasonsAppealRecord
     */
    public ReasonsAppealRecord() {
        super(ReasonsAppeal.REASONS_APPEAL);
    }

    /**
     * Create a detached, initialised ReasonsAppealRecord
     */
    public ReasonsAppealRecord(Long idReasonsAppeal, BigDecimal appeal, BigDecimal incorrectInf, BigDecimal noData, BigDecimal other, Date recordingDate, BigDecimal incorrectInfPercent, BigDecimal noDataPercent, BigDecimal otherPercent, UUID recruitmentId) {
        super(ReasonsAppeal.REASONS_APPEAL);

        setIdReasonsAppeal(idReasonsAppeal);
        setAppeal(appeal);
        setIncorrectInf(incorrectInf);
        setNoData(noData);
        setOther(other);
        setRecordingDate(recordingDate);
        setIncorrectInfPercent(incorrectInfPercent);
        setNoDataPercent(noDataPercent);
        setOtherPercent(otherPercent);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
