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


/**
 * Первоначальная постановка на учет. Информация о записях поступивших из ГИР ВУ
 * и созданых гражданина
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class IncomingCreatingRecordsRecord extends UpdatableRecordImpl<IncomingCreatingRecordsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.incoming_creating_records_id</code>.
     */
    public void setIncomingCreatingRecordsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.incoming_creating_records_id</code>.
     */
    public Long getIncomingCreatingRecordsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.records_gir_vu</code>.
     * записей поступило из ГИР ВУ
     */
    public void setRecordsGirVu(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.records_gir_vu</code>.
     * записей поступило из ГИР ВУ
     */
    public Long getRecordsGirVu() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.records_citizen_create</code>.
     * записей гражданина создано
     */
    public void setRecordsCitizenCreate(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.records_citizen_create</code>.
     * записей гражданина создано
     */
    public Long getRecordsCitizenCreate() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.count_records_uploaded</code>.
     * Количество записей, загруженных в ГИС ЕРВУ
     */
    public void setCountRecordsUploaded(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.count_records_uploaded</code>.
     * Количество записей, загруженных в ГИС ЕРВУ
     */
    public Long getCountRecordsUploaded() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.count_records_created</code>.
     * Количество созданных записей гражданина
     */
    public void setCountRecordsCreated(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.count_records_created</code>.
     * Количество созданных записей гражданина
     */
    public Long getCountRecordsCreated() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.count_collated_data</code>.
     * данных гражданина сверено с данными ГИС ЕРВУ
     */
    public void setCountCollatedData(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.count_collated_data</code>.
     * данных гражданина сверено с данными ГИС ЕРВУ
     */
    public Long getCountCollatedData() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.count_collated</code>.
     * записей сопоставлено с ГИС ЕРВУ
     */
    public void setCountCollated(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.count_collated</code>.
     * записей сопоставлено с ГИС ЕРВУ
     */
    public Long getCountCollated() {
        return (Long) get(9);
    }

    /**
     * Setter for
     * <code>init_registration_info.incoming_creating_records.count_deregistered_declaration</code>.
     * граждан снято с учета по заявлению с ЕПГУ
     */
    public void setCountDeregisteredDeclaration(Long value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.incoming_creating_records.count_deregistered_declaration</code>.
     * граждан снято с учета по заявлению с ЕПГУ
     */
    public Long getCountDeregisteredDeclaration() {
        return (Long) get(10);
    }

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

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

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

    /**
     * Create a detached IncomingCreatingRecordsRecord
     */
    public IncomingCreatingRecordsRecord() {
        super(IncomingCreatingRecords.INCOMING_CREATING_RECORDS);
    }

    /**
     * Create a detached, initialised IncomingCreatingRecordsRecord
     */
    public IncomingCreatingRecordsRecord(Long incomingCreatingRecordsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long recordsGirVu, Long recordsCitizenCreate, Long countRecordsUploaded, Long countRecordsCreated, Long countCollatedData, Long countCollated, Long countDeregisteredDeclaration) {
        super(IncomingCreatingRecords.INCOMING_CREATING_RECORDS);

        setIncomingCreatingRecordsId(incomingCreatingRecordsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setRecordsGirVu(recordsGirVu);
        setRecordsCitizenCreate(recordsCitizenCreate);
        setCountRecordsUploaded(countRecordsUploaded);
        setCountRecordsCreated(countRecordsCreated);
        setCountCollatedData(countCollatedData);
        setCountCollated(countCollated);
        setCountDeregisteredDeclaration(countDeregisteredDeclaration);
        resetChangedOnNotNull();
    }
}
