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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list.imposition_tmp_measures.imposition_tmp_measures_id</code>.
     */
    public void setImpositionTmpMeasuresId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list.imposition_tmp_measures.imposition_tmp_measures_id</code>.
     */
    public Long getImpositionTmpMeasuresId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * Setter for
     * <code>summonses_list.imposition_tmp_measures.count_apply</code>.
     * применена мера
     */
    public void setCountApply(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>summonses_list.imposition_tmp_measures.count_apply</code>.
     * применена мера
     */
    public Long getCountApply() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>summonses_list.imposition_tmp_measures.count_enter</code>. введлена
     * мера
     */
    public void setCountEnter(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>summonses_list.imposition_tmp_measures.count_enter</code>. введлена
     * мера
     */
    public Long getCountEnter() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached ImpositionTmpMeasuresRecord
     */
    public ImpositionTmpMeasuresRecord() {
        super(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES);
    }

    /**
     * Create a detached, initialised ImpositionTmpMeasuresRecord
     */
    public ImpositionTmpMeasuresRecord(Long impositionTmpMeasuresId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countForSign, Long countApply, Long countEnter) {
        super(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES);

        setImpositionTmpMeasuresId(impositionTmpMeasuresId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setSummonsesReasonId(summonsesReasonId);
        setCountForSign(countForSign);
        setCountApply(countApply);
        setCountEnter(countEnter);
        resetChangedOnNotNull();
    }
}
