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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.incidents_files_requests.incidents_files_requests_id</code>.
     */
    public void setIncidentsFilesRequestsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_files_requests.incidents_files_requests_id</code>.
     */
    public Long getIncidentsFilesRequestsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>metrics.incidents_files_requests.count_requisites_entered</code>.
     * реквизитов обращений внесено
     */
    public void setCountRequisitesEntered(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_files_requests.count_requisites_entered</code>.
     * реквизитов обращений внесено
     */
    public Long getCountRequisitesEntered() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>metrics.incidents_files_requests.count_results_entered</code>.
     * результатов рассмотрения обращений внесено
     */
    public void setCountResultsEntered(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_files_requests.count_results_entered</code>.
     * результатов рассмотрения обращений внесено
     */
    public Long getCountResultsEntered() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>metrics.incidents_files_requests.count_formed_fns</code>. файлов
     * сформировано для выгрузки в ФНС
     */
    public void setCountFormedFns(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_files_requests.count_formed_fns</code>. файлов
     * сформировано для выгрузки в ФНС
     */
    public Long getCountFormedFns() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>metrics.incidents_files_requests.count_uploaded_fns</code>. файлов
     * выгружено для ФНС
     */
    public void setCountUploadedFns(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>metrics.incidents_files_requests.count_uploaded_fns</code>. файлов
     * выгружено для ФНС
     */
    public Long getCountUploadedFns() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached IncidentsFilesRequestsRecord
     */
    public IncidentsFilesRequestsRecord() {
        super(IncidentsFilesRequests.INCIDENTS_FILES_REQUESTS);
    }

    /**
     * Create a detached, initialised IncidentsFilesRequestsRecord
     */
    public IncidentsFilesRequestsRecord(Long incidentsFilesRequestsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countRequisitesEntered, Long countResultsEntered, Long countFormedFns, Long countUploadedFns) {
        super(IncidentsFilesRequests.INCIDENTS_FILES_REQUESTS);

        setIncidentsFilesRequestsId(incidentsFilesRequestsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountRequisitesEntered(countRequisitesEntered);
        setCountResultsEntered(countResultsEntered);
        setCountFormedFns(countFormedFns);
        setCountUploadedFns(countUploadedFns);
        resetChangedOnNotNull();
    }
}
