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


/**
 * Реестр повесток. Список всех повесток
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AllSummonsesRecord extends UpdatableRecordImpl<AllSummonsesRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>summonses_list.all_summonses.all_summonses_id</code>.
     */
    public void setAllSummonsesId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>summonses_list.all_summonses.all_summonses_id</code>.
     */
    public Long getAllSummonsesId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>summonses_list.all_summonses.count_init_registration</code>. в
     * рамках первоначальной постановки на ВУ
     */
    public void setCountInitRegistration(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list.all_summonses.count_init_registration</code>. в
     * рамках первоначальной постановки на ВУ
     */
    public Long getCountInitRegistration() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>summonses_list.all_summonses.count_draft_company</code>.
     * в рамках призывной кампании
     */
    public void setCountDraftCompany(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>summonses_list.all_summonses.count_draft_company</code>.
     * в рамках призывной кампании
     */
    public Long getCountDraftCompany() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>summonses_list.all_summonses.count_management_military_registration</code>.
     * в рамках ведения воинского учета
     */
    public void setCountManagementMilitaryRegistration(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>summonses_list.all_summonses.count_management_military_registration</code>.
     * в рамках ведения воинского учета
     */
    public Long getCountManagementMilitaryRegistration() {
        return (Long) get(6);
    }

    /**
     * Setter for <code>summonses_list.all_summonses.count_mobilization</code>.
     * в рамках мобилизации
     */
    public void setCountMobilization(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>summonses_list.all_summonses.count_mobilization</code>.
     * в рамках мобилизации
     */
    public Long getCountMobilization() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached AllSummonsesRecord
     */
    public AllSummonsesRecord() {
        super(AllSummonses.ALL_SUMMONSES);
    }

    /**
     * Create a detached, initialised AllSummonsesRecord
     */
    public AllSummonsesRecord(Long allSummonsesId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countInitRegistration, Long countDraftCompany, Long countManagementMilitaryRegistration, Long countMobilization) {
        super(AllSummonses.ALL_SUMMONSES);

        setAllSummonsesId(allSummonsesId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountInitRegistration(countInitRegistration);
        setCountDraftCompany(countDraftCompany);
        setCountManagementMilitaryRegistration(countManagementMilitaryRegistration);
        setCountMobilization(countMobilization);
        resetChangedOnNotNull();
    }
}
