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


/**
 * Журналирование. Журнал загрузки файлов
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LoadFilesJourRecord extends UpdatableRecordImpl<LoadFilesJourRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>journal_log.load_files_jour.load_files_jour_id</code>.
     */
    public void setLoadFilesJourId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>journal_log.load_files_jour.load_files_jour_id</code>.
     */
    public Long getLoadFilesJourId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>journal_log.load_files_jour.count_load_without_error</code>.
     * загружено без ошибок
     */
    public void setCountLoadWithoutError(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>journal_log.load_files_jour.count_load_without_error</code>.
     * загружено без ошибок
     */
    public Long getCountLoadWithoutError() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>journal_log.load_files_jour.count_not_load_by_error</code>. не
     * загружено из-за ошибок
     */
    public void setCountNotLoadByError(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>journal_log.load_files_jour.count_not_load_by_error</code>. не
     * загружено из-за ошибок
     */
    public Long getCountNotLoadByError() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>journal_log.load_files_jour.count_load_with_error</code>. загружено
     * с ошибками
     */
    public void setCountLoadWithError(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>journal_log.load_files_jour.count_load_with_error</code>. загружено
     * с ошибками
     */
    public Long getCountLoadWithError() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached LoadFilesJourRecord
     */
    public LoadFilesJourRecord() {
        super(LoadFilesJour.LOAD_FILES_JOUR);
    }

    /**
     * Create a detached, initialised LoadFilesJourRecord
     */
    public LoadFilesJourRecord(Long loadFilesJourId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countLoadWithoutError, Long countNotLoadByError, Long countLoadWithError) {
        super(LoadFilesJour.LOAD_FILES_JOUR);

        setLoadFilesJourId(loadFilesJourId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountLoadWithoutError(countLoadWithoutError);
        setCountNotLoadByError(countNotLoadByError);
        setCountLoadWithError(countLoadWithError);
        resetChangedOnNotNull();
    }
}
