/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.summonses_list.tables.RemoveTmpMeasures;


/**
 * Реестр повесток. Решение о снятии временных мер
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RemoveTmpMeasuresRecord extends UpdatableRecordImpl<RemoveTmpMeasuresRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list.remove_tmp_measures.remove_tmp_measures_id</code>.
     */
    public void setRemoveTmpMeasuresId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list.remove_tmp_measures.remove_tmp_measures_id</code>.
     */
    public Long getRemoveTmpMeasuresId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>summonses_list.remove_tmp_measures.summonses_reason_id</code>.
     */
    public void setSummonsesReasonId(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list.remove_tmp_measures.summonses_reason_id</code>.
     */
    public Long getSummonsesReasonId() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>summonses_list.remove_tmp_measures.count_formed</code>.
     * сформировано решений
     */
    public void setCountFormed(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>summonses_list.remove_tmp_measures.count_formed</code>.
     * сформировано решений
     */
    public Long getCountFormed() {
        return (Long) get(5);
    }

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

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

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

    /**
     * Getter for <code>summonses_list.remove_tmp_measures.count_signed</code>.
     * подписано
     */
    public Long getCountSigned() {
        return (Long) get(7);
    }

    /**
     * Setter for <code>summonses_list.remove_tmp_measures.count_removed</code>.
     * снято временных мер
     */
    public void setCountRemoved(Long value) {
        set(8, value);
    }

    /**
     * Getter for <code>summonses_list.remove_tmp_measures.count_removed</code>.
     * снято временных мер
     */
    public Long getCountRemoved() {
        return (Long) get(8);
    }

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

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

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

    /**
     * Create a detached RemoveTmpMeasuresRecord
     */
    public RemoveTmpMeasuresRecord() {
        super(RemoveTmpMeasures.REMOVE_TMP_MEASURES);
    }

    /**
     * Create a detached, initialised RemoveTmpMeasuresRecord
     */
    public RemoveTmpMeasuresRecord(Long removeTmpMeasuresId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countFormed, Long countForSign, Long countSigned, Long countRemoved) {
        super(RemoveTmpMeasures.REMOVE_TMP_MEASURES);

        setRemoveTmpMeasuresId(removeTmpMeasuresId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setSummonsesReasonId(summonsesReasonId);
        setCountFormed(countFormed);
        setCountForSign(countForSign);
        setCountSigned(countSigned);
        setCountRemoved(countRemoved);
        resetChangedOnNotNull();
    }
}
