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


/**
 * Снятие с воинского учета. Решение о снятии с ВУ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SolutionsRecord extends UpdatableRecordImpl<SolutionsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>deregistration.solutions.solutions_id</code>.
     */
    public void setSolutionsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>deregistration.solutions.solutions_id</code>.
     */
    public Long getSolutionsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

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

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

    /**
     * Setter for <code>deregistration.solutions.count_accepted_signed</code>.
     * решений о снятии подписано
     */
    public void setCountAcceptedSigned(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>deregistration.solutions.count_accepted_signed</code>.
     * решений о снятии подписано
     */
    public Long getCountAcceptedSigned() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>deregistration.solutions.count_accepted_for_sign</code>.
     * решений о снятии доступно для подписания
     */
    public void setCountAcceptedForSign(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>deregistration.solutions.count_accepted_for_sign</code>.
     * решений о снятии доступно для подписания
     */
    public Long getCountAcceptedForSign() {
        return (Long) get(6);
    }

    /**
     * Setter for <code>deregistration.solutions.count_refused</code>.
     */
    public void setCountRefused(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>deregistration.solutions.count_refused</code>.
     */
    public Long getCountRefused() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached SolutionsRecord
     */
    public SolutionsRecord() {
        super(Solutions.SOLUTIONS);
    }

    /**
     * Create a detached, initialised SolutionsRecord
     */
    public SolutionsRecord(Long solutionsId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, Long countAcceptedSigned, Long countAcceptedForSign, Long countRefused) {
        super(Solutions.SOLUTIONS);

        setSolutionsId(solutionsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setInfoSource(infoSource);
        setCountAcceptedSigned(countAcceptedSigned);
        setCountAcceptedForSign(countAcceptedForSign);
        setCountRefused(countRefused);
        resetChangedOnNotNull();
    }
}
