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


/**
 * Первоначальная постановка на учет. Данные по количеству гражан на учете в 
 * возрасте 17 или 18 лет и по источнику самих данных
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizensNextYearAgeRecord extends UpdatableRecordImpl<CitizensNextYearAgeRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.citizens_next_year_age.citizens_next_year_age_id</code>.
     */
    public void setCitizensNextYearAgeId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.citizens_next_year_age.citizens_next_year_age_id</code>.
     */
    public Long getCitizensNextYearAgeId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

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

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

    /**
     * Setter for
     * <code>init_registration_info.citizens_next_year_age.info_age</code>.
     * Информациия о каком возрасте 17_YEARS, 18_YEARS
     */
    public void setInfoAge(String value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.citizens_next_year_age.info_age</code>.
     * Информациия о каком возрасте 17_YEARS, 18_YEARS
     */
    public String getInfoAge() {
        return (String) get(5);
    }

    /**
     * Setter for
     * <code>init_registration_info.citizens_next_year_age.count_all</code>.
     */
    public void setCountAll(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.citizens_next_year_age.count_all</code>.
     */
    public Long getCountAll() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached CitizensNextYearAgeRecord
     */
    public CitizensNextYearAgeRecord() {
        super(CitizensNextYearAge.CITIZENS_NEXT_YEAR_AGE);
    }

    /**
     * Create a detached, initialised CitizensNextYearAgeRecord
     */
    public CitizensNextYearAgeRecord(Long citizensNextYearAgeId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, String infoAge, Long countAll) {
        super(CitizensNextYearAge.CITIZENS_NEXT_YEAR_AGE);

        setCitizensNextYearAgeId(citizensNextYearAgeId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setInfoAge(infoAge);
        setCountAll(countAll);
        resetChangedOnNotNull();
    }
}
