/*
 * 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.Appeals;


/**
 * Обжалования
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>forecast.appeals.appeals_id</code>.
     */
    public void setAppealsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>forecast.appeals.appeals_id</code>.
     */
    public Long getAppealsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for <code>forecast.appeals.resolved_appeals</code>. Решенные
     * обжалования
     */
    public void setResolvedAppeals(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>forecast.appeals.resolved_appeals</code>. Решенные
     * обжалования
     */
    public BigDecimal getResolvedAppeals() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>forecast.appeals.document_retrieval</code>. Досыл
     * документов
     */
    public void setDocumentRetrieval(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>forecast.appeals.document_retrieval</code>. Досыл
     * документов
     */
    public BigDecimal getDocumentRetrieval() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for <code>forecast.appeals.retraction_complaint</code>. Отзыв
     * жалобы
     */
    public void setRetractionComplaint(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for <code>forecast.appeals.retraction_complaint</code>. Отзыв
     * жалобы
     */
    public BigDecimal getRetractionComplaint() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for <code>forecast.appeals.disagreement_decision</code>.
     * Несогласие с решением
     */
    public void setDisagreementDecision(BigDecimal value) {
        set(7, value);
    }

    /**
     * Getter for <code>forecast.appeals.disagreement_decision</code>.
     * Несогласие с решением
     */
    public BigDecimal getDisagreementDecision() {
        return (BigDecimal) get(7);
    }

    /**
     * Setter for <code>forecast.appeals.incorrect_information</code>.
     * Некорректные данные
     */
    public void setIncorrectInformation(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for <code>forecast.appeals.incorrect_information</code>.
     * Некорректные данные
     */
    public BigDecimal getIncorrectInformation() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for <code>forecast.appeals.maintaining_military_records</code>.
     * Ведение воинского учета
     */
    public void setMaintainingMilitaryRecords(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for <code>forecast.appeals.maintaining_military_records</code>.
     * Ведение воинского учета
     */
    public BigDecimal getMaintainingMilitaryRecords() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for <code>forecast.appeals.conscription</code>. Призыв на службу
     */
    public void setConscription(BigDecimal value) {
        set(10, value);
    }

    /**
     * Getter for <code>forecast.appeals.conscription</code>. Призыв на службу
     */
    public BigDecimal getConscription() {
        return (BigDecimal) get(10);
    }

    /**
     * Setter for <code>forecast.appeals.temporary_measures</code>. Временные
     * меры
     */
    public void setTemporaryMeasures(BigDecimal value) {
        set(11, value);
    }

    /**
     * Getter for <code>forecast.appeals.temporary_measures</code>. Временные
     * меры
     */
    public BigDecimal getTemporaryMeasures() {
        return (BigDecimal) get(11);
    }

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

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

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

    /**
     * Create a detached AppealsRecord
     */
    public AppealsRecord() {
        super(Appeals.APPEALS);
    }

    /**
     * Create a detached, initialised AppealsRecord
     */
    public AppealsRecord(Long appealsId, UUID recruitmentId, Date recordingDate, String schema, BigDecimal resolvedAppeals, BigDecimal documentRetrieval, BigDecimal retractionComplaint, BigDecimal disagreementDecision, BigDecimal incorrectInformation, BigDecimal maintainingMilitaryRecords, BigDecimal conscription, BigDecimal temporaryMeasures) {
        super(Appeals.APPEALS);

        setAppealsId(appealsId);
        setRecruitmentId(recruitmentId);
        setRecordingDate(recordingDate);
        setSchema(schema);
        setResolvedAppeals(resolvedAppeals);
        setDocumentRetrieval(documentRetrieval);
        setRetractionComplaint(retractionComplaint);
        setDisagreementDecision(disagreementDecision);
        setIncorrectInformation(incorrectInformation);
        setMaintainingMilitaryRecords(maintainingMilitaryRecords);
        setConscription(conscription);
        setTemporaryMeasures(temporaryMeasures);
        resetChangedOnNotNull();
    }
}
