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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.statuses_decisions_on_epgu.statuses_decisions_on_epgu_id</code>.
     */
    public void setStatusesDecisionsOnEpguId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.statuses_decisions_on_epgu.statuses_decisions_on_epgu_id</code>.
     */
    public Long getStatusesDecisionsOnEpguId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>init_registration_info.statuses_decisions_on_epgu.count_loaded</code>.
     */
    public void setCountLoaded(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.statuses_decisions_on_epgu.count_loaded</code>.
     */
    public Long getCountLoaded() {
        return (Long) get(4);
    }

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

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

    /**
     * Setter for
     * <code>init_registration_info.statuses_decisions_on_epgu.count_formed_for_signing</code>.
     */
    public void setCountFormedForSigning(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.statuses_decisions_on_epgu.count_formed_for_signing</code>.
     */
    public Long getCountFormedForSigning() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached StatusesDecisionsOnEpguRecord
     */
    public StatusesDecisionsOnEpguRecord() {
        super(StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU);
    }

    /**
     * Create a detached, initialised StatusesDecisionsOnEpguRecord
     */
    public StatusesDecisionsOnEpguRecord(Long statusesDecisionsOnEpguId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countLoaded, Long countSigned, Long countFormedForSigning) {
        super(StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU);

        setStatusesDecisionsOnEpguId(statusesDecisionsOnEpguId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountLoaded(countLoaded);
        setCountSigned(countSigned);
        setCountFormedForSigning(countFormedForSigning);
        resetChangedOnNotNull();
    }
}
