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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewAllSummonses;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list.view_all_summonses.all_summonses_id</code>.
     */
    public void setAllSummonsesId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_all_summonses.all_summonses_id</code>.
     */
    public Long getAllSummonsesId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>summonses_list.view_all_summonses.percent_init_registration</code>.
     */
    public void setPercentInitRegistration(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_all_summonses.percent_init_registration</code>.
     */
    public BigDecimal getPercentInitRegistration() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>summonses_list.view_all_summonses.percent_draft_company</code>.
     */
    public void setPercentDraftCompany(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_all_summonses.percent_draft_company</code>.
     */
    public BigDecimal getPercentDraftCompany() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>summonses_list.view_all_summonses.percent_management_military_registration</code>.
     */
    public void setPercentManagementMilitaryRegistration(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_all_summonses.percent_management_military_registration</code>.
     */
    public BigDecimal getPercentManagementMilitaryRegistration() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>summonses_list.view_all_summonses.percent_mobilization</code>.
     */
    public void setPercentMobilization(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_all_summonses.percent_mobilization</code>.
     */
    public BigDecimal getPercentMobilization() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewAllSummonsesRecord
     */
    public ViewAllSummonsesRecord() {
        super(ViewAllSummonses.VIEW_ALL_SUMMONSES);
    }

    /**
     * Create a detached, initialised ViewAllSummonsesRecord
     */
    public ViewAllSummonsesRecord(Long allSummonsesId, Long countAll, BigDecimal percentInitRegistration, BigDecimal percentDraftCompany, BigDecimal percentManagementMilitaryRegistration, BigDecimal percentMobilization) {
        super(ViewAllSummonses.VIEW_ALL_SUMMONSES);

        setAllSummonsesId(allSummonsesId);
        setCountAll(countAll);
        setPercentInitRegistration(percentInitRegistration);
        setPercentDraftCompany(percentDraftCompany);
        setPercentManagementMilitaryRegistration(percentManagementMilitaryRegistration);
        setPercentMobilization(percentMobilization);
        resetChangedOnNotNull();
    }
}
