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


/**
 * Реестр повесток подсистема. Направление повесток в ЛК РП
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesDirectToPersAccRecord extends UpdatableRecordImpl<SummonsesDirectToPersAccRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.summonses_direct_to_pers_acc_id</code>.
     */
    public void setSummonsesDirectToPersAccId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.summonses_direct_to_pers_acc_id</code>.
     */
    public Long getSummonsesDirectToPersAccId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_draft_board</code>.
     */
    public void setCountDraftBoard(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_draft_board</code>.
     */
    public Long getCountDraftBoard() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_recruitment_company</code>.
     */
    public void setCountRecruitmentCompany(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_recruitment_company</code>.
     */
    public Long getCountRecruitmentCompany() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_military_registration</code>.
     */
    public void setCountMilitaryRegistration(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_military_registration</code>.
     */
    public Long getCountMilitaryRegistration() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_mobilisation</code>.
     */
    public void setCountMobilisation(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.summonses_direct_to_pers_acc.count_mobilisation</code>.
     */
    public Long getCountMobilisation() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached SummonsesDirectToPersAccRecord
     */
    public SummonsesDirectToPersAccRecord() {
        super(SummonsesDirectToPersAcc.SUMMONSES_DIRECT_TO_PERS_ACC);
    }

    /**
     * Create a detached, initialised SummonsesDirectToPersAccRecord
     */
    public SummonsesDirectToPersAccRecord(Long summonsesDirectToPersAccId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countDraftBoard, Long countRecruitmentCompany, Long countMilitaryRegistration, Long countMobilisation) {
        super(SummonsesDirectToPersAcc.SUMMONSES_DIRECT_TO_PERS_ACC);

        setSummonsesDirectToPersAccId(summonsesDirectToPersAccId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountDraftBoard(countDraftBoard);
        setCountRecruitmentCompany(countRecruitmentCompany);
        setCountMilitaryRegistration(countMilitaryRegistration);
        setCountMobilisation(countMobilisation);
        resetChangedOnNotNull();
    }
}
