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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.requests_direct_to_pers_acc_id</code>.
     */
    public void setRequestsDirectToPersAccId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.requests_direct_to_pers_acc_id</code>.
     */
    public Long getRequestsDirectToPersAccId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_registered</code>.
     */
    public void setPercentRegistered(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_registered</code>.
     */
    public BigDecimal getPercentRegistered() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_not_registered</code>.
     */
    public void setPercentNotRegistered(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_not_registered</code>.
     */
    public BigDecimal getPercentNotRegistered() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_registered_formed</code>.
     */
    public void setPercentRegisteredFormed(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_registered_formed</code>.
     */
    public BigDecimal getPercentRegisteredFormed() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_not_registered_formed</code>.
     */
    public void setPercentNotRegisteredFormed(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>summonses_list_subsystem.view_requests_direct_to_pers_acc.percent_not_registered_formed</code>.
     */
    public BigDecimal getPercentNotRegisteredFormed() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewRequestsDirectToPersAccRecord
     */
    public ViewRequestsDirectToPersAccRecord() {
        super(ViewRequestsDirectToPersAcc.VIEW_REQUESTS_DIRECT_TO_PERS_ACC);
    }

    /**
     * Create a detached, initialised ViewRequestsDirectToPersAccRecord
     */
    public ViewRequestsDirectToPersAccRecord(Long requestsDirectToPersAccId, Long countAll, BigDecimal percentRegistered, BigDecimal percentNotRegistered, BigDecimal percentRegisteredFormed, BigDecimal percentNotRegisteredFormed) {
        super(ViewRequestsDirectToPersAcc.VIEW_REQUESTS_DIRECT_TO_PERS_ACC);

        setRequestsDirectToPersAccId(requestsDirectToPersAccId);
        setCountAll(countAll);
        setPercentRegistered(percentRegistered);
        setPercentNotRegistered(percentNotRegistered);
        setPercentRegisteredFormed(percentRegisteredFormed);
        setPercentNotRegisteredFormed(percentNotRegisteredFormed);
        resetChangedOnNotNull();
    }
}
