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


/**
 * Первоначальная постановка на учет. Информация о налиции ИД ЕРН и ИД УК
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecordsInfoIdUkIdErnRecord extends UpdatableRecordImpl<RecordsInfoIdUkIdErnRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.records_info_id_uk_id_ern.records_info_id_uk_id_ern_id</code>.
     */
    public void setRecordsInfoIdUkIdErnId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.records_info_id_uk_id_ern.records_info_id_uk_id_ern_id</code>.
     */
    public Long getRecordsInfoIdUkIdErnId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>init_registration_info.records_info_id_uk_id_ern.info_source</code>.
     * Источник - PERSONAL_VISIT, GIR_VU, EPGU
     */
    public void setInfoSource(String value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.records_info_id_uk_id_ern.info_source</code>.
     * Источник - PERSONAL_VISIT, GIR_VU, EPGU
     */
    public String getInfoSource() {
        return (String) get(4);
    }

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

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

    /**
     * Setter for
     * <code>init_registration_info.records_info_id_uk_id_ern.records_with_id_uk</code>.
     */
    public void setRecordsWithIdUk(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.records_info_id_uk_id_ern.records_with_id_uk</code>.
     */
    public Long getRecordsWithIdUk() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>init_registration_info.records_info_id_uk_id_ern.records_without_id_uk</code>.
     */
    public void setRecordsWithoutIdUk(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.records_info_id_uk_id_ern.records_without_id_uk</code>.
     */
    public Long getRecordsWithoutIdUk() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached RecordsInfoIdUkIdErnRecord
     */
    public RecordsInfoIdUkIdErnRecord() {
        super(RecordsInfoIdUkIdErn.RECORDS_INFO_ID_UK_ID_ERN);
    }

    /**
     * Create a detached, initialised RecordsInfoIdUkIdErnRecord
     */
    public RecordsInfoIdUkIdErnRecord(Long recordsInfoIdUkIdErnId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, String infoAge, Long recordsWithIdUk, Long recordsWithoutIdUk) {
        super(RecordsInfoIdUkIdErn.RECORDS_INFO_ID_UK_ID_ERN);

        setRecordsInfoIdUkIdErnId(recordsInfoIdUkIdErnId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setInfoAge(infoAge);
        setRecordsWithIdUk(recordsWithIdUk);
        setRecordsWithoutIdUk(recordsWithoutIdUk);
        resetChangedOnNotNull();
    }
}
