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


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DataFromGisErvuRecord extends UpdatableRecordImpl<DataFromGisErvuRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.data_from_gis_ervu.data_from_gis_ervu_id</code>.
     */
    public void setDataFromGisErvuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.data_from_gis_ervu.data_from_gis_ervu_id</code>.
     */
    public Long getDataFromGisErvuId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Create a detached DataFromGisErvuRecord
     */
    public DataFromGisErvuRecord() {
        super(DataFromGisErvu.DATA_FROM_GIS_ERVU);
    }

    /**
     * Create a detached, initialised DataFromGisErvuRecord
     */
    public DataFromGisErvuRecord(Long dataFromGisErvuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countCollatedData, Long countCollated) {
        super(DataFromGisErvu.DATA_FROM_GIS_ERVU);

        setDataFromGisErvuId(dataFromGisErvuId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountCollatedData(countCollatedData);
        setCountCollated(countCollated);
        resetChangedOnNotNull();
    }
}
