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


/**
 * Явка в Военный комиссариат
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReportingMilitaryCommissariatRecord extends UpdatableRecordImpl<ReportingMilitaryCommissariatRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>forecast.reporting_military_commissariat.reporting_military_commissariat_id</code>.
     */
    public void setReportingMilitaryCommissariatId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>forecast.reporting_military_commissariat.reporting_military_commissariat_id</code>.
     */
    public Long getReportingMilitaryCommissariatId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>forecast.reporting_military_commissariat.subpoenaed_appear</code>.
     * Явились по повесткам
     */
    public void setSubpoenaedAppear(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>forecast.reporting_military_commissariat.subpoenaed_appear</code>.
     * Явились по повесткам
     */
    public BigDecimal getSubpoenaedAppear() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>forecast.reporting_military_commissariat.missed_deadline</code>. Не
     * явились в срок
     */
    public void setMissedDeadline(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>forecast.reporting_military_commissariat.missed_deadline</code>. Не
     * явились в срок
     */
    public BigDecimal getMissedDeadline() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for
     * <code>forecast.reporting_military_commissariat.missed_deadline_reason</code>.
     * Не явились по уважительной причине
     */
    public void setMissedDeadlineReason(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>forecast.reporting_military_commissariat.missed_deadline_reason</code>.
     * Не явились по уважительной причине
     */
    public BigDecimal getMissedDeadlineReason() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for
     * <code>forecast.reporting_military_commissariat.subpoenas_issued</code>.
     * Вручено повесток
     */
    public void setSubpoenasIssued(BigDecimal value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>forecast.reporting_military_commissariat.subpoenas_issued</code>.
     * Вручено повесток
     */
    public BigDecimal getSubpoenasIssued() {
        return (BigDecimal) get(7);
    }

    /**
     * Setter for
     * <code>forecast.reporting_military_commissariat.retrieved_7_days</code>.
     * Вручено через 7 дней(автоматически)
     */
    public void setRetrieved_7Days(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>forecast.reporting_military_commissariat.retrieved_7_days</code>.
     * Вручено через 7 дней(автоматически)
     */
    public BigDecimal getRetrieved_7Days() {
        return (BigDecimal) get(8);
    }

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

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

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

    /**
     * Create a detached ReportingMilitaryCommissariatRecord
     */
    public ReportingMilitaryCommissariatRecord() {
        super(ReportingMilitaryCommissariat.REPORTING_MILITARY_COMMISSARIAT);
    }

    /**
     * Create a detached, initialised ReportingMilitaryCommissariatRecord
     */
    public ReportingMilitaryCommissariatRecord(Long reportingMilitaryCommissariatId, UUID recruitmentId, Date recordingDate, String schema, BigDecimal subpoenaedAppear, BigDecimal missedDeadline, BigDecimal missedDeadlineReason, BigDecimal subpoenasIssued, BigDecimal retrieved_7Days) {
        super(ReportingMilitaryCommissariat.REPORTING_MILITARY_COMMISSARIAT);

        setReportingMilitaryCommissariatId(reportingMilitaryCommissariatId);
        setRecruitmentId(recruitmentId);
        setRecordingDate(recordingDate);
        setSchema(schema);
        setSubpoenaedAppear(subpoenaedAppear);
        setMissedDeadline(missedDeadline);
        setMissedDeadlineReason(missedDeadlineReason);
        setSubpoenasIssued(subpoenasIssued);
        setRetrieved_7Days(retrieved_7Days);
        resetChangedOnNotNull();
    }
}
