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


/**
 * Реестр повесток. Количество сформированных повесток
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FormedSummonsesRecord extends UpdatableRecordImpl<FormedSummonsesRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list.formed_summonses.formed_summonses_id</code>.
     */
    public void setFormedSummonsesId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list.formed_summonses.formed_summonses_id</code>.
     */
    public Long getFormedSummonsesId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>summonses_list.formed_summonses.summonses_reason_id</code>.
     */
    public void setSummonsesReasonId(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list.formed_summonses.summonses_reason_id</code>.
     */
    public Long getSummonsesReasonId() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>summonses_list.formed_summonses.count_formed</code>.
     * сформировано
     */
    public void setCountFormed(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>summonses_list.formed_summonses.count_formed</code>.
     * сформировано
     */
    public Long getCountFormed() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>summonses_list.formed_summonses.count_signed</code>.
     * подписано
     */
    public void setCountSigned(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>summonses_list.formed_summonses.count_signed</code>.
     * подписано
     */
    public Long getCountSigned() {
        return (Long) get(6);
    }

    /**
     * Setter for <code>summonses_list.formed_summonses.count_sent</code>.
     * направлено
     */
    public void setCountSent(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>summonses_list.formed_summonses.count_sent</code>.
     * направлено
     */
    public Long getCountSent() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>summonses_list.formed_summonses.count_delivered_on_hands</code>.
     * доставлено нарочно
     */
    public void setCountDeliveredOnHands(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>summonses_list.formed_summonses.count_delivered_on_hands</code>.
     * доставлено нарочно
     */
    public Long getCountDeliveredOnHands() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>summonses_list.formed_summonses.count_delivered_by_letter</code>.
     * доставлено заказным письмом
     */
    public void setCountDeliveredByLetter(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>summonses_list.formed_summonses.count_delivered_by_letter</code>.
     * доставлено заказным письмом
     */
    public Long getCountDeliveredByLetter() {
        return (Long) get(9);
    }

    /**
     * Setter for <code>summonses_list.formed_summonses.count_refused</code>.
     * отклоненные ВК
     */
    public void setCountRefused(Long value) {
        set(10, value);
    }

    /**
     * Getter for <code>summonses_list.formed_summonses.count_refused</code>.
     * отклоненные ВК
     */
    public Long getCountRefused() {
        return (Long) get(10);
    }

    /**
     * Setter for
     * <code>summonses_list.formed_summonses.count_auto_7_days</code>. врученные
     * автоматически через 7 дней
     */
    public void setCountAuto_7Days(Long value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>summonses_list.formed_summonses.count_auto_7_days</code>. врученные
     * автоматически через 7 дней
     */
    public Long getCountAuto_7Days() {
        return (Long) get(11);
    }

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

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

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

    /**
     * Create a detached FormedSummonsesRecord
     */
    public FormedSummonsesRecord() {
        super(FormedSummonses.FORMED_SUMMONSES);
    }

    /**
     * Create a detached, initialised FormedSummonsesRecord
     */
    public FormedSummonsesRecord(Long formedSummonsesId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countFormed, Long countSigned, Long countSent, Long countDeliveredOnHands, Long countDeliveredByLetter, Long countRefused, Long countAuto_7Days) {
        super(FormedSummonses.FORMED_SUMMONSES);

        setFormedSummonsesId(formedSummonsesId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setSummonsesReasonId(summonsesReasonId);
        setCountFormed(countFormed);
        setCountSigned(countSigned);
        setCountSent(countSent);
        setCountDeliveredOnHands(countDeliveredOnHands);
        setCountDeliveredByLetter(countDeliveredByLetter);
        setCountRefused(countRefused);
        setCountAuto_7Days(countAuto_7Days);
        resetChangedOnNotNull();
    }
}
