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


/**
 * Первоначальная постановка на учет. Статус формирования решений
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DecisionFormationStatusRecord extends UpdatableRecordImpl<DecisionFormationStatusRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.decision_formation_status.decision_formation_status_id</code>.
     */
    public void setDecisionFormationStatusId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.decision_formation_status.decision_formation_status_id</code>.
     */
    public Long getDecisionFormationStatusId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * Setter for
     * <code>init_registration_info.decision_formation_status.count_signed</code>.
     */
    public void setCountSigned(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.decision_formation_status.count_signed</code>.
     */
    public Long getCountSigned() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>init_registration_info.decision_formation_status.count_suggested</code>.
     * Предпоставлено
     */
    public void setCountSuggested(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.decision_formation_status.count_suggested</code>.
     * Предпоставлено
     */
    public Long getCountSuggested() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>init_registration_info.decision_formation_status.count_waiting_sign</code>.
     */
    public void setCountWaitingSign(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.decision_formation_status.count_waiting_sign</code>.
     */
    public Long getCountWaitingSign() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>init_registration_info.decision_formation_status.count_refused</code>.
     */
    public void setCountRefused(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.decision_formation_status.count_refused</code>.
     */
    public Long getCountRefused() {
        return (Long) get(9);
    }

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

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

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

    /**
     * Create a detached DecisionFormationStatusRecord
     */
    public DecisionFormationStatusRecord() {
        super(DecisionFormationStatus.DECISION_FORMATION_STATUS);
    }

    /**
     * Create a detached, initialised DecisionFormationStatusRecord
     */
    public DecisionFormationStatusRecord(Long decisionFormationStatusId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, String infoAge, Long countSigned, Long countSuggested, Long countWaitingSign, Long countRefused) {
        super(DecisionFormationStatus.DECISION_FORMATION_STATUS);

        setDecisionFormationStatusId(decisionFormationStatusId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setInfoAge(infoAge);
        setCountSigned(countSigned);
        setCountSuggested(countSuggested);
        setCountWaitingSign(countWaitingSign);
        setCountRefused(countRefused);
        resetChangedOnNotNull();
    }
}
