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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.processed_records.processed_records_id</code>.
     */
    public void setProcessedRecordsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.processed_records.processed_records_id</code>.
     */
    public Long getProcessedRecordsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for <code>journal_log.processed_records.count_flk_error</code>.
     * ошибки ФЛК
     */
    public void setCountFlkError(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>journal_log.processed_records.count_flk_error</code>.
     * ошибки ФЛК
     */
    public Long getCountFlkError() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>journal_log.processed_records.count_time_error</code>.
     * ошибки времени
     */
    public void setCountTimeError(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>journal_log.processed_records.count_time_error</code>.
     * ошибки времени
     */
    public Long getCountTimeError() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>journal_log.processed_records.count_new</code>. новые
     * записи
     */
    public void setCountNew(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>journal_log.processed_records.count_new</code>. новые
     * записи
     */
    public Long getCountNew() {
        return (Long) get(6);
    }

    /**
     * Setter for <code>journal_log.processed_records.count_actual</code>.
     * актуализированные записи
     */
    public void setCountActual(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>journal_log.processed_records.count_actual</code>.
     * актуализированные записи
     */
    public Long getCountActual() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached ProcessedRecordsRecord
     */
    public ProcessedRecordsRecord() {
        super(ProcessedRecords.PROCESSED_RECORDS);
    }

    /**
     * Create a detached, initialised ProcessedRecordsRecord
     */
    public ProcessedRecordsRecord(Long processedRecordsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countFlkError, Long countTimeError, Long countNew, Long countActual) {
        super(ProcessedRecords.PROCESSED_RECORDS);

        setProcessedRecordsId(processedRecordsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountFlkError(countFlkError);
        setCountTimeError(countTimeError);
        setCountNew(countNew);
        setCountActual(countActual);
        resetChangedOnNotNull();
    }
}
