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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>journal_log.load_record_jour.load_record_jour_id</code>.
     */
    public void setLoadRecordJourId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>journal_log.load_record_jour.load_record_jour_id</code>.
     */
    public Long getLoadRecordJourId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for <code>journal_log.load_record_jour.info_source</code>.
     * результат загрузки LOAD - успешно загружено, ERROR - ошибка загрузки
     */
    public void setInfoSource(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>journal_log.load_record_jour.info_source</code>.
     * результат загрузки LOAD - успешно загружено, ERROR - ошибка загрузки
     */
    public String getInfoSource() {
        return (String) get(4);
    }

    /**
     * Setter for <code>journal_log.load_record_jour.count_inform_system</code>.
     * из информ. систем МО РФ
     */
    public void setCountInformSystem(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>journal_log.load_record_jour.count_inform_system</code>.
     * из информ. систем МО РФ
     */
    public Long getCountInformSystem() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>journal_log.load_record_jour.count_gir_vu</code>. из ГИР
     * ВУ
     */
    public void setCountGirVu(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>journal_log.load_record_jour.count_gir_vu</code>. из ГИР
     * ВУ
     */
    public Long getCountGirVu() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>journal_log.load_record_jour.count_compare_citizen_info</code>.
     * сверка сведений граждан
     */
    public void setCountCompareCitizenInfo(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>journal_log.load_record_jour.count_compare_citizen_info</code>.
     * сверка сведений граждан
     */
    public Long getCountCompareCitizenInfo() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached LoadRecordJourRecord
     */
    public LoadRecordJourRecord() {
        super(LoadRecordJour.LOAD_RECORD_JOUR);
    }

    /**
     * Create a detached, initialised LoadRecordJourRecord
     */
    public LoadRecordJourRecord(Long loadRecordJourId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, Long countInformSystem, Long countGirVu, Long countCompareCitizenInfo) {
        super(LoadRecordJour.LOAD_RECORD_JOUR);

        setLoadRecordJourId(loadRecordJourId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setCountInformSystem(countInformSystem);
        setCountGirVu(countGirVu);
        setCountCompareCitizenInfo(countCompareCitizenInfo);
        resetChangedOnNotNull();
    }
}
