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


/**
 * Инциденты. Принятые решения на основании данных из ГИР ВУ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class IncidentsRecievedByDataFromGirVuRecord extends UpdatableRecordImpl<IncidentsRecievedByDataFromGirVuRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.incidents_recieved_by_data_from_gir_vu.incidents_recieved_by_data_from_gir_vu_id</code>.
     */
    public void setIncidentsRecievedByDataFromGirVuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_recieved_by_data_from_gir_vu.incidents_recieved_by_data_from_gir_vu_id</code>.
     */
    public Long getIncidentsRecievedByDataFromGirVuId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>metrics.incidents_recieved_by_data_from_gir_vu.count_confirmed</code>.
     */
    public void setCountConfirmed(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_recieved_by_data_from_gir_vu.count_confirmed</code>.
     */
    public Long getCountConfirmed() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>metrics.incidents_recieved_by_data_from_gir_vu.count_not_confirmed</code>.
     */
    public void setCountNotConfirmed(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_recieved_by_data_from_gir_vu.count_not_confirmed</code>.
     */
    public Long getCountNotConfirmed() {
        return (Long) get(5);
    }

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

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

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

    /**
     * Create a detached IncidentsRecievedByDataFromGirVuRecord
     */
    public IncidentsRecievedByDataFromGirVuRecord() {
        super(IncidentsRecievedByDataFromGirVu.INCIDENTS_RECIEVED_BY_DATA_FROM_GIR_VU);
    }

    /**
     * Create a detached, initialised IncidentsRecievedByDataFromGirVuRecord
     */
    public IncidentsRecievedByDataFromGirVuRecord(Long incidentsRecievedByDataFromGirVuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countConfirmed, Long countNotConfirmed) {
        super(IncidentsRecievedByDataFromGirVu.INCIDENTS_RECIEVED_BY_DATA_FROM_GIR_VU);

        setIncidentsRecievedByDataFromGirVuId(incidentsRecievedByDataFromGirVuId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountConfirmed(countConfirmed);
        setCountNotConfirmed(countNotConfirmed);
        resetChangedOnNotNull();
    }
}
