/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.records;


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list_subsystem.tables.ViewSummonsesDirectToPersAcc;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewSummonsesDirectToPersAccRecord extends TableRecordImpl<ViewSummonsesDirectToPersAccRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.summonses_direct_to_pers_acc_id</code>.
     */
    public void setSummonsesDirectToPersAccId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.summonses_direct_to_pers_acc_id</code>.
     */
    public Long getSummonsesDirectToPersAccId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.count_all</code>.
     */
    public void setCountAll(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.count_all</code>.
     */
    public Long getCountAll() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_draft_board</code>.
     */
    public void setPercentDraftBoard(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_draft_board</code>.
     */
    public BigDecimal getPercentDraftBoard() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_recruitment_company</code>.
     */
    public void setPercentRecruitmentCompany(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_recruitment_company</code>.
     */
    public BigDecimal getPercentRecruitmentCompany() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_military_registration</code>.
     */
    public void setPercentMilitaryRegistration(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_military_registration</code>.
     */
    public BigDecimal getPercentMilitaryRegistration() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_mobilisation</code>.
     */
    public void setPercentMobilisation(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_summonses_direct_to_pers_acc.percent_mobilisation</code>.
     */
    public BigDecimal getPercentMobilisation() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewSummonsesDirectToPersAccRecord
     */
    public ViewSummonsesDirectToPersAccRecord() {
        super(ViewSummonsesDirectToPersAcc.VIEW_SUMMONSES_DIRECT_TO_PERS_ACC);
    }

    /**
     * Create a detached, initialised ViewSummonsesDirectToPersAccRecord
     */
    public ViewSummonsesDirectToPersAccRecord(Long summonsesDirectToPersAccId, Long countAll, BigDecimal percentDraftBoard, BigDecimal percentRecruitmentCompany, BigDecimal percentMilitaryRegistration, BigDecimal percentMobilisation) {
        super(ViewSummonsesDirectToPersAcc.VIEW_SUMMONSES_DIRECT_TO_PERS_ACC);

        setSummonsesDirectToPersAccId(summonsesDirectToPersAccId);
        setCountAll(countAll);
        setPercentDraftBoard(percentDraftBoard);
        setPercentRecruitmentCompany(percentRecruitmentCompany);
        setPercentMilitaryRegistration(percentMilitaryRegistration);
        setPercentMobilisation(percentMobilisation);
        resetChangedOnNotNull();
    }
}
