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


/**
 * Журналирование. Журнал загрузки записей. Среднее время обработки файлов и
 * записей
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ProcessingTimeFilesAndRecordsRecord extends UpdatableRecordImpl<ProcessingTimeFilesAndRecordsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.processing_time_files_and_records.processing_time_files_and_records_id</code>.
     */
    public void setProcessingTimeFilesAndRecordsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.processing_time_files_and_records.processing_time_files_and_records_id</code>.
     */
    public Long getProcessingTimeFilesAndRecordsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>journal_log.processing_time_files_and_records.info_source</code>.
     * тип фапйла CSV или XML
     */
    public void setInfoSource(String value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>journal_log.processing_time_files_and_records.info_source</code>.
     * тип фапйла CSV или XML
     */
    public String getInfoSource() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>journal_log.processing_time_files_and_records.record_time_sec</code>.
     * время обработки записи
     */
    public void setRecordTimeSec(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>journal_log.processing_time_files_and_records.record_time_sec</code>.
     * время обработки записи
     */
    public Long getRecordTimeSec() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>journal_log.processing_time_files_and_records.file_time_sec</code>.
     * время обработки файла
     */
    public void setFileTimeSec(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>journal_log.processing_time_files_and_records.file_time_sec</code>.
     * время обработки файла
     */
    public Long getFileTimeSec() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>journal_log.processing_time_files_and_records.count_files_in_record</code>.
     * количество записей в файле
     */
    public void setCountFilesInRecord(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>journal_log.processing_time_files_and_records.count_files_in_record</code>.
     * количество записей в файле
     */
    public Long getCountFilesInRecord() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached ProcessingTimeFilesAndRecordsRecord
     */
    public ProcessingTimeFilesAndRecordsRecord() {
        super(ProcessingTimeFilesAndRecords.PROCESSING_TIME_FILES_AND_RECORDS);
    }

    /**
     * Create a detached, initialised ProcessingTimeFilesAndRecordsRecord
     */
    public ProcessingTimeFilesAndRecordsRecord(Long processingTimeFilesAndRecordsId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, Long recordTimeSec, Long fileTimeSec, Long countFilesInRecord) {
        super(ProcessingTimeFilesAndRecords.PROCESSING_TIME_FILES_AND_RECORDS);

        setProcessingTimeFilesAndRecordsId(processingTimeFilesAndRecordsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setRecordTimeSec(recordTimeSec);
        setFileTimeSec(fileTimeSec);
        setCountFilesInRecord(countFilesInRecord);
        resetChangedOnNotNull();
    }
}
