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


/**
 * Снятие с воинского учета. Отправка уведомлений в ЛК на ЕПГУ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InfoSentToLkEpguRecord extends UpdatableRecordImpl<InfoSentToLkEpguRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
     */
    public void setInfoSentToLkEpguId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
     */
    public Long getInfoSentToLkEpguId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for <code>deregistration.info_sent_to_lk_epgu.info_source</code>.
     */
    public void setInfoSource(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>deregistration.info_sent_to_lk_epgu.info_source</code>.
     */
    public String getInfoSource() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>deregistration.info_sent_to_lk_epgu.count_status_formed</code>.
     */
    public void setCountStatusFormed(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>deregistration.info_sent_to_lk_epgu.count_status_formed</code>.
     */
    public Long getCountStatusFormed() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>deregistration.info_sent_to_lk_epgu.count_sended</code>.
     */
    public void setCountSended(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>deregistration.info_sent_to_lk_epgu.count_sended</code>.
     */
    public Long getCountSended() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>deregistration.info_sent_to_lk_epgu.count_delivered</code>.
     */
    public void setCountDelivered(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>deregistration.info_sent_to_lk_epgu.count_delivered</code>.
     */
    public Long getCountDelivered() {
        return (Long) get(7);
    }

    /**
     * Setter for <code>deregistration.info_sent_to_lk_epgu.count_error</code>.
     */
    public void setCountError(Long value) {
        set(8, value);
    }

    /**
     * Getter for <code>deregistration.info_sent_to_lk_epgu.count_error</code>.
     */
    public Long getCountError() {
        return (Long) get(8);
    }

    /**
     * Setter for <code>deregistration.info_sent_to_lk_epgu.count_viewed</code>.
     */
    public void setCountViewed(Long value) {
        set(9, value);
    }

    /**
     * Getter for <code>deregistration.info_sent_to_lk_epgu.count_viewed</code>.
     */
    public Long getCountViewed() {
        return (Long) get(9);
    }

    /**
     * Setter for
     * <code>deregistration.info_sent_to_lk_epgu.count_not_viewed</code>.
     */
    public void setCountNotViewed(Long value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>deregistration.info_sent_to_lk_epgu.count_not_viewed</code>.
     */
    public Long getCountNotViewed() {
        return (Long) get(10);
    }

    /**
     * Setter for
     * <code>deregistration.info_sent_to_lk_epgu.count_status_not_formed</code>.
     */
    public void setCountStatusNotFormed(Long value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>deregistration.info_sent_to_lk_epgu.count_status_not_formed</code>.
     */
    public Long getCountStatusNotFormed() {
        return (Long) get(11);
    }

    /**
     * Setter for
     * <code>deregistration.info_sent_to_lk_epgu.count_exceeded_send</code>.
     * Превышено время ожидания отправки уведомления
     */
    public void setCountExceededSend(Long value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>deregistration.info_sent_to_lk_epgu.count_exceeded_send</code>.
     * Превышено время ожидания отправки уведомления
     */
    public Long getCountExceededSend() {
        return (Long) get(12);
    }

    /**
     * Setter for
     * <code>deregistration.info_sent_to_lk_epgu.count_exceeded_delivered</code>.
     * Превышено время ожидания доставки уведомления
     */
    public void setCountExceededDelivered(Long value) {
        set(13, value);
    }

    /**
     * Getter for
     * <code>deregistration.info_sent_to_lk_epgu.count_exceeded_delivered</code>.
     * Превышено время ожидания доставки уведомления
     */
    public Long getCountExceededDelivered() {
        return (Long) get(13);
    }

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

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

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

    /**
     * Create a detached InfoSentToLkEpguRecord
     */
    public InfoSentToLkEpguRecord() {
        super(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU);
    }

    /**
     * Create a detached, initialised InfoSentToLkEpguRecord
     */
    public InfoSentToLkEpguRecord(Long infoSentToLkEpguId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, Long countStatusFormed, Long countSended, Long countDelivered, Long countError, Long countViewed, Long countNotViewed, Long countStatusNotFormed, Long countExceededSend, Long countExceededDelivered) {
        super(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU);

        setInfoSentToLkEpguId(infoSentToLkEpguId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setCountStatusFormed(countStatusFormed);
        setCountSended(countSended);
        setCountDelivered(countDelivered);
        setCountError(countError);
        setCountViewed(countViewed);
        setCountNotViewed(countNotViewed);
        setCountStatusNotFormed(countStatusNotFormed);
        setCountExceededSend(countExceededSend);
        setCountExceededDelivered(countExceededDelivered);
        resetChangedOnNotNull();
    }
}
