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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewDecisionFormationStatus;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.view_decision_formation_status.decision_formation_status_id</code>.
     */
    public void setDecisionFormationStatusId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_decision_formation_status.decision_formation_status_id</code>.
     */
    public Long getDecisionFormationStatusId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>init_registration_info.view_decision_formation_status.percent_signed</code>.
     */
    public void setPercentSigned(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_decision_formation_status.percent_signed</code>.
     */
    public BigDecimal getPercentSigned() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>init_registration_info.view_decision_formation_status.percent_suggested</code>.
     */
    public void setPercentSuggested(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_decision_formation_status.percent_suggested</code>.
     */
    public BigDecimal getPercentSuggested() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>init_registration_info.view_decision_formation_status.percent_waiting_sign</code>.
     */
    public void setPercentWaitingSign(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_decision_formation_status.percent_waiting_sign</code>.
     */
    public BigDecimal getPercentWaitingSign() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>init_registration_info.view_decision_formation_status.percent_refused</code>.
     */
    public void setPercentRefused(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_decision_formation_status.percent_refused</code>.
     */
    public BigDecimal getPercentRefused() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewDecisionFormationStatusRecord
     */
    public ViewDecisionFormationStatusRecord() {
        super(ViewDecisionFormationStatus.VIEW_DECISION_FORMATION_STATUS);
    }

    /**
     * Create a detached, initialised ViewDecisionFormationStatusRecord
     */
    public ViewDecisionFormationStatusRecord(Long decisionFormationStatusId, Long countAll, BigDecimal percentSigned, BigDecimal percentSuggested, BigDecimal percentWaitingSign, BigDecimal percentRefused) {
        super(ViewDecisionFormationStatus.VIEW_DECISION_FORMATION_STATUS);

        setDecisionFormationStatusId(decisionFormationStatusId);
        setCountAll(countAll);
        setPercentSigned(percentSigned);
        setPercentSuggested(percentSuggested);
        setPercentWaitingSign(percentWaitingSign);
        setPercentRefused(percentRefused);
        resetChangedOnNotNull();
    }
}
