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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.requests_direct_to_pers_acc_id</code>.
     */
    public void setRequestsDirectToPersAccId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.requests_direct_to_pers_acc_id</code>.
     */
    public Long getRequestsDirectToPersAccId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_registered</code>.
     * состоящие на ВУ
     */
    public void setCountRegistered(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_registered</code>.
     * состоящие на ВУ
     */
    public Long getCountRegistered() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_registered_formed</code>.
     * сформировано для состоящих на ВУ
     */
    public void setCountRegisteredFormed(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_registered_formed</code>.
     * сформировано для состоящих на ВУ
     */
    public Long getCountRegisteredFormed() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_not_registered</code>.
     * не состоящие на ВУ
     */
    public void setCountNotRegistered(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_not_registered</code>.
     * не состоящие на ВУ
     */
    public Long getCountNotRegistered() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_not_registered_formed</code>.
     * сформировано для не состоящих на ВУ
     */
    public void setCountNotRegisteredFormed(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.requests_direct_to_pers_acc.count_not_registered_formed</code>.
     * сформировано для не состоящих на ВУ
     */
    public Long getCountNotRegisteredFormed() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached RequestsDirectToPersAccRecord
     */
    public RequestsDirectToPersAccRecord() {
        super(RequestsDirectToPersAcc.REQUESTS_DIRECT_TO_PERS_ACC);
    }

    /**
     * Create a detached, initialised RequestsDirectToPersAccRecord
     */
    public RequestsDirectToPersAccRecord(Long requestsDirectToPersAccId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countRegistered, Long countRegisteredFormed, Long countNotRegistered, Long countNotRegisteredFormed) {
        super(RequestsDirectToPersAcc.REQUESTS_DIRECT_TO_PERS_ACC);

        setRequestsDirectToPersAccId(requestsDirectToPersAccId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountRegistered(countRegistered);
        setCountRegisteredFormed(countRegisteredFormed);
        setCountNotRegistered(countNotRegistered);
        setCountNotRegisteredFormed(countNotRegisteredFormed);
        resetChangedOnNotNull();
    }
}
