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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.applications_sent_from_epgu.applications_sent_from_epgu_id</code>.
     */
    public void setApplicationsSentFromEpguId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.applications_sent_from_epgu.applications_sent_from_epgu_id</code>.
     */
    public Long getApplicationsSentFromEpguId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>deregistration.applications_sent_from_epgu.count_moved_residence</code>.
     */
    public void setCountMovedResidence(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>deregistration.applications_sent_from_epgu.count_moved_residence</code>.
     */
    public Long getCountMovedResidence() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>deregistration.applications_sent_from_epgu.count_departure_more_6_month</code>.
     */
    public void setCountDepartureMore_6Month(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>deregistration.applications_sent_from_epgu.count_departure_more_6_month</code>.
     */
    public Long getCountDepartureMore_6Month() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>deregistration.applications_sent_from_epgu.count_health_condition</code>.
     */
    public void setCountHealthCondition(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>deregistration.applications_sent_from_epgu.count_health_condition</code>.
     */
    public Long getCountHealthCondition() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>deregistration.applications_sent_from_epgu.count_age_limit</code>.
     */
    public void setCountAgeLimit(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>deregistration.applications_sent_from_epgu.count_age_limit</code>.
     */
    public Long getCountAgeLimit() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached ApplicationsSentFromEpguRecord
     */
    public ApplicationsSentFromEpguRecord() {
        super(ApplicationsSentFromEpgu.APPLICATIONS_SENT_FROM_EPGU);
    }

    /**
     * Create a detached, initialised ApplicationsSentFromEpguRecord
     */
    public ApplicationsSentFromEpguRecord(Long applicationsSentFromEpguId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countMovedResidence, Long countDepartureMore_6Month, Long countHealthCondition, Long countAgeLimit) {
        super(ApplicationsSentFromEpgu.APPLICATIONS_SENT_FROM_EPGU);

        setApplicationsSentFromEpguId(applicationsSentFromEpguId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountMovedResidence(countMovedResidence);
        setCountDepartureMore_6Month(countDepartureMore_6Month);
        setCountHealthCondition(countHealthCondition);
        setCountAgeLimit(countAgeLimit);
        resetChangedOnNotNull();
    }
}
