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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.init_registration_from_gir_vu.init_registration_from_gir_vu_id</code>.
     */
    public void setInitRegistrationFromGirVuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.init_registration_from_gir_vu.init_registration_from_gir_vu_id</code>.
     */
    public Long getInitRegistrationFromGirVuId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>init_registration_info.init_registration_from_gir_vu.count_womens</code>.
     */
    public void setCountWomens(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.init_registration_from_gir_vu.count_womens</code>.
     */
    public Long getCountWomens() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>init_registration_info.init_registration_from_gir_vu.count_received_citizenship</code>.
     */
    public void setCountReceivedCitizenship(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.init_registration_from_gir_vu.count_received_citizenship</code>.
     */
    public Long getCountReceivedCitizenship() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>init_registration_info.init_registration_from_gir_vu.count_serving_sentence</code>.
     * граждан, отбывавших наказания в местах лишения свободы
     */
    public void setCountServingSentence(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.init_registration_from_gir_vu.count_serving_sentence</code>.
     * граждан, отбывавших наказания в местах лишения свободы
     */
    public Long getCountServingSentence() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached InitRegistrationFromGirVuRecord
     */
    public InitRegistrationFromGirVuRecord() {
        super(InitRegistrationFromGirVu.INIT_REGISTRATION_FROM_GIR_VU);
    }

    /**
     * Create a detached, initialised InitRegistrationFromGirVuRecord
     */
    public InitRegistrationFromGirVuRecord(Long initRegistrationFromGirVuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countWomens, Long countReceivedCitizenship, Long countServingSentence) {
        super(InitRegistrationFromGirVu.INIT_REGISTRATION_FROM_GIR_VU);

        setInitRegistrationFromGirVuId(initRegistrationFromGirVuId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountWomens(countWomens);
        setCountReceivedCitizenship(countReceivedCitizenship);
        setCountServingSentence(countServingSentence);
        resetChangedOnNotNull();
    }
}
