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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange.summonses_list_data_exchange_id</code>.
     */
    public void setSummonsesListDataExchangeId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange.summonses_list_data_exchange_id</code>.
     */
    public Long getSummonsesListDataExchangeId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange.count_entry_system</code>.
     * вход в систему
     */
    public void setCountEntrySystem(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange.count_entry_system</code>.
     * вход в систему
     */
    public Long getCountEntrySystem() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange.count_entry_system_error</code>.
     * вход в систему с ошибкой
     */
    public void setCountEntrySystemError(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange.count_entry_system_error</code>.
     * вход в систему с ошибкой
     */
    public Long getCountEntrySystemError() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange.count_request_extract</code>.
     * запрос выписки
     */
    public void setCountRequestExtract(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange.count_request_extract</code>.
     * запрос выписки
     */
    public Long getCountRequestExtract() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>journal_log.summonses_list_data_exchange.count_request_extract_error</code>.
     * запрос выписки с ошибкой
     */
    public void setCountRequestExtractError(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>journal_log.summonses_list_data_exchange.count_request_extract_error</code>.
     * запрос выписки с ошибкой
     */
    public Long getCountRequestExtractError() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached SummonsesListDataExchangeRecord
     */
    public SummonsesListDataExchangeRecord() {
        super(SummonsesListDataExchange.SUMMONSES_LIST_DATA_EXCHANGE);
    }

    /**
     * Create a detached, initialised SummonsesListDataExchangeRecord
     */
    public SummonsesListDataExchangeRecord(Long summonsesListDataExchangeId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countEntrySystem, Long countEntrySystemError, Long countRequestExtract, Long countRequestExtractError) {
        super(SummonsesListDataExchange.SUMMONSES_LIST_DATA_EXCHANGE);

        setSummonsesListDataExchangeId(summonsesListDataExchangeId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountEntrySystem(countEntrySystem);
        setCountEntrySystemError(countEntrySystemError);
        setCountRequestExtract(countRequestExtract);
        setCountRequestExtractError(countRequestExtractError);
        resetChangedOnNotNull();
    }
}
