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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
     */
    public void setChangeDataFromGirVuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
     */
    public Long getChangeDataFromGirVuId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_reg_address</code>.
     * новое место жит-ва
     */
    public void setCountRegAddress(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_reg_address</code>.
     * новое место жит-ва
     */
    public Long getCountRegAddress() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_place_of_stay</code>.
     * новое место пребывания
     */
    public void setCountPlaceOfStay(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_place_of_stay</code>.
     * новое место пребывания
     */
    public Long getCountPlaceOfStay() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>actualization.change_data_from_gir_vu.count_work</code>.
     * новое место работы
     */
    public void setCountWork(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>actualization.change_data_from_gir_vu.count_work</code>.
     * новое место работы
     */
    public Long getCountWork() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_place_of_study</code>.
     * новое место учебы
     */
    public void setCountPlaceOfStudy(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_place_of_study</code>.
     * новое место учебы
     */
    public Long getCountPlaceOfStudy() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_family_status</code>.
     * новое семейное положение
     */
    public void setCountFamilyStatus(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_family_status</code>.
     * новое семейное положение
     */
    public Long getCountFamilyStatus() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_education</code>. новое
     * образование
     */
    public void setCountEducation(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_education</code>. новое
     * образование
     */
    public Long getCountEducation() {
        return (Long) get(9);
    }

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_renaming</code>.
     * перемена ФИО
     */
    public void setCountRenaming(Long value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_renaming</code>.
     * перемена ФИО
     */
    public Long getCountRenaming() {
        return (Long) get(10);
    }

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_med_info</code>. новые
     * мед данные
     */
    public void setCountMedInfo(Long value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_med_info</code>. новые
     * мед данные
     */
    public Long getCountMedInfo() {
        return (Long) get(11);
    }

    /**
     * Setter for
     * <code>actualization.change_data_from_gir_vu.count_other</code>. другие
     * причины
     */
    public void setCountOther(Long value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>actualization.change_data_from_gir_vu.count_other</code>. другие
     * причины
     */
    public Long getCountOther() {
        return (Long) get(12);
    }

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

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

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

    /**
     * Create a detached ChangeDataFromGirVuRecord
     */
    public ChangeDataFromGirVuRecord() {
        super(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU);
    }

    /**
     * Create a detached, initialised ChangeDataFromGirVuRecord
     */
    public ChangeDataFromGirVuRecord(Long changeDataFromGirVuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countRegAddress, Long countPlaceOfStay, Long countWork, Long countPlaceOfStudy, Long countFamilyStatus, Long countEducation, Long countRenaming, Long countMedInfo, Long countOther) {
        super(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU);

        setChangeDataFromGirVuId(changeDataFromGirVuId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountRegAddress(countRegAddress);
        setCountPlaceOfStay(countPlaceOfStay);
        setCountWork(countWork);
        setCountPlaceOfStudy(countPlaceOfStudy);
        setCountFamilyStatus(countFamilyStatus);
        setCountEducation(countEducation);
        setCountRenaming(countRenaming);
        setCountMedInfo(countMedInfo);
        setCountOther(countOther);
        resetChangedOnNotNull();
    }
}
