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


/**
 * Реестр повесток. Явка в военный комиссариат
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitOfficeVisitRecord extends UpdatableRecordImpl<RecruitOfficeVisitRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list.recruit_office_visit.recruit_office_visit_id</code>.
     */
    public void setRecruitOfficeVisitId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list.recruit_office_visit.recruit_office_visit_id</code>.
     */
    public Long getRecruitOfficeVisitId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>summonses_list.recruit_office_visit.summonses_reason_id</code>.
     */
    public void setSummonsesReasonId(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list.recruit_office_visit.summonses_reason_id</code>.
     */
    public Long getSummonsesReasonId() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>summonses_list.recruit_office_visit.count_visit</code>.
     * явились
     */
    public void setCountVisit(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>summonses_list.recruit_office_visit.count_visit</code>.
     * явились
     */
    public Long getCountVisit() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>summonses_list.recruit_office_visit.count_not_visit</code>. не
     * явились
     */
    public void setCountNotVisit(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>summonses_list.recruit_office_visit.count_not_visit</code>. не
     * явились
     */
    public Long getCountNotVisit() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>summonses_list.recruit_office_visit.count_valid_reason</code>. не
     * явились по уважительной причине
     */
    public void setCountValidReason(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>summonses_list.recruit_office_visit.count_valid_reason</code>. не
     * явились по уважительной причине
     */
    public Long getCountValidReason() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>summonses_list.recruit_office_visit.count_not_need</code>. явка не
     * требовалась
     */
    public void setCountNotNeed(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>summonses_list.recruit_office_visit.count_not_need</code>. явка не
     * требовалась
     */
    public Long getCountNotNeed() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>summonses_list.recruit_office_visit.count_hand_over_not_need</code>.
     */
    public void setCountHandOverNotNeed(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>summonses_list.recruit_office_visit.count_hand_over_not_need</code>.
     */
    public Long getCountHandOverNotNeed() {
        return (Long) get(9);
    }

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

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

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

    /**
     * Create a detached RecruitOfficeVisitRecord
     */
    public RecruitOfficeVisitRecord() {
        super(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT);
    }

    /**
     * Create a detached, initialised RecruitOfficeVisitRecord
     */
    public RecruitOfficeVisitRecord(Long recruitOfficeVisitId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countVisit, Long countNotVisit, Long countValidReason, Long countNotNeed, Long countHandOverNotNeed) {
        super(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT);

        setRecruitOfficeVisitId(recruitOfficeVisitId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setSummonsesReasonId(summonsesReasonId);
        setCountVisit(countVisit);
        setCountNotVisit(countNotVisit);
        setCountValidReason(countValidReason);
        setCountNotNeed(countNotNeed);
        setCountHandOverNotNeed(countHandOverNotNeed);
        resetChangedOnNotNull();
    }
}
