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


/**
 * Инциденты. Изменения сведений из ГИР ВУ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class IncidentsChangeDataFromGirVuRecord extends UpdatableRecordImpl<IncidentsChangeDataFromGirVuRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.incidents_change_data_from_gir_vu.incidents_change_data_from_gir_vu_id</code>.
     */
    public void setIncidentsChangeDataFromGirVuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_change_data_from_gir_vu.incidents_change_data_from_gir_vu_id</code>.
     */
    public Long getIncidentsChangeDataFromGirVuId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_epgu_citizen_appeal</code>.
     */
    public void setCountEpguCitizenAppeal(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_epgu_citizen_appeal</code>.
     */
    public Long getCountEpguCitizenAppeal() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_manual</code>.
     */
    public void setCountManual(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_manual</code>.
     */
    public Long getCountManual() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_send_to_gir_vu</code>.
     */
    public void setCountSendToGirVu(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_send_to_gir_vu</code>.
     */
    public Long getCountSendToGirVu() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_accepted</code>.
     */
    public void setCountAccepted(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_change_data_from_gir_vu.count_accepted</code>.
     */
    public Long getCountAccepted() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached IncidentsChangeDataFromGirVuRecord
     */
    public IncidentsChangeDataFromGirVuRecord() {
        super(IncidentsChangeDataFromGirVu.INCIDENTS_CHANGE_DATA_FROM_GIR_VU);
    }

    /**
     * Create a detached, initialised IncidentsChangeDataFromGirVuRecord
     */
    public IncidentsChangeDataFromGirVuRecord(Long incidentsChangeDataFromGirVuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countEpguCitizenAppeal, Long countManual, Long countSendToGirVu, Long countAccepted) {
        super(IncidentsChangeDataFromGirVu.INCIDENTS_CHANGE_DATA_FROM_GIR_VU);

        setIncidentsChangeDataFromGirVuId(incidentsChangeDataFromGirVuId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountEpguCitizenAppeal(countEpguCitizenAppeal);
        setCountManual(countManual);
        setCountSendToGirVu(countSendToGirVu);
        setCountAccepted(countAccepted);
        resetChangedOnNotNull();
    }
}
