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


/**
 * Постановка на воинский учет при смене адреса. Повестки, подписанные в первом
 * ВК
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesSignRecord extends UpdatableRecordImpl<SummonsesSignRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.summonses_sign.summonses_sign_id</code>.
     */
    public void setSummonsesSignId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.summonses_sign.summonses_sign_id</code>.
     */
    public Long getSummonsesSignId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>registration_change_address.summonses_sign.info_source</code>.
     * информация об источнике - PERSONAL_VISIT, GIR_VU, EPGU
     */
    public void setInfoSource(String value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.summonses_sign.info_source</code>.
     * информация об источнике - PERSONAL_VISIT, GIR_VU, EPGU
     */
    public String getInfoSource() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>registration_change_address.summonses_sign.count_refused_in_second</code>.
     * отмененные во 2 ВК
     */
    public void setCountRefusedInSecond(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.summonses_sign.count_refused_in_second</code>.
     * отмененные во 2 ВК
     */
    public Long getCountRefusedInSecond() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>registration_change_address.summonses_sign.count_accepted_in_second</code>.
     * подтвержденные во 2 ВК
     */
    public void setCountAcceptedInSecond(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.summonses_sign.count_accepted_in_second</code>.
     * подтвержденные во 2 ВК
     */
    public Long getCountAcceptedInSecond() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached SummonsesSignRecord
     */
    public SummonsesSignRecord() {
        super(SummonsesSign.SUMMONSES_SIGN);
    }

    /**
     * Create a detached, initialised SummonsesSignRecord
     */
    public SummonsesSignRecord(Long summonsesSignId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, Long countRefusedInSecond, Long countAcceptedInSecond) {
        super(SummonsesSign.SUMMONSES_SIGN);

        setSummonsesSignId(summonsesSignId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setCountRefusedInSecond(countRefusedInSecond);
        setCountAcceptedInSecond(countAcceptedInSecond);
        resetChangedOnNotNull();
    }
}
