/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records;


import java.sql.Date;
import java.sql.Timestamp;

import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RejectionDecisions;


/**
 * Снятие с воинского учета. Сформированные решения об отказе в снятии с ВУ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RejectionDecisionsRecord extends UpdatableRecordImpl<RejectionDecisionsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.rejection_decisions.rejection_decisions_id</code>.
     */
    public void setRejectionDecisionsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.rejection_decisions.rejection_decisions_id</code>.
     */
    public Long getRejectionDecisionsId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>deregistration.rejection_decisions.recruitment_id</code>.
     */
    public void setRecruitmentId(String value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>deregistration.rejection_decisions.recruitment_id</code>.
     */
    public String getRecruitmentId() {
        return (String) get(1);
    }

    /**
     * Setter for <code>deregistration.rejection_decisions.update_date</code>.
     */
    public void setUpdateDate(Timestamp value) {
        set(2, value);
    }

    /**
     * Getter for <code>deregistration.rejection_decisions.update_date</code>.
     */
    public Timestamp getUpdateDate() {
        return (Timestamp) get(2);
    }

    /**
     * Setter for <code>deregistration.rejection_decisions.info_date</code>.
     */
    public void setInfoDate(Date value) {
        set(3, value);
    }

    /**
     * Getter for <code>deregistration.rejection_decisions.info_date</code>.
     */
    public Date getInfoDate() {
        return (Date) get(3);
    }

    /**
     * Setter for
     * <code>deregistration.rejection_decisions.count_for_sign</code>. Доступно
     * для подписания
     */
    public void setCountForSign(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>deregistration.rejection_decisions.count_for_sign</code>. Доступно
     * для подписания
     */
    public Long getCountForSign() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>deregistration.rejection_decisions.count_signed</code>.
     * Подписано
     */
    public void setCountSigned(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>deregistration.rejection_decisions.count_signed</code>.
     * Подписано
     */
    public Long getCountSigned() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>deregistration.rejection_decisions.count_refused</code>.
     * Отклонено
     */
    public void setCountRefused(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>deregistration.rejection_decisions.count_refused</code>.
     * Отклонено
     */
    public Long getCountRefused() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached RejectionDecisionsRecord
     */
    public RejectionDecisionsRecord() {
        super(RejectionDecisions.REJECTION_DECISIONS);
    }

    /**
     * Create a detached, initialised RejectionDecisionsRecord
     */
    public RejectionDecisionsRecord(Long rejectionDecisionsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countForSign, Long countSigned, Long countRefused) {
        super(RejectionDecisions.REJECTION_DECISIONS);

        setRejectionDecisionsId(rejectionDecisionsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountForSign(countForSign);
        setCountSigned(countSigned);
        setCountRefused(countRefused);
        resetChangedOnNotNull();
    }
}
