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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewRejectionDecisions;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.view_rejection_decisions.rejection_decisions_id</code>.
     */
    public void setRejectionDecisionsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_rejection_decisions.rejection_decisions_id</code>.
     */
    public Long getRejectionDecisionsId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>deregistration.view_rejection_decisions.percent_for_sign</code>.
     */
    public void setPercentForSign(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_rejection_decisions.percent_for_sign</code>.
     */
    public BigDecimal getPercentForSign() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>deregistration.view_rejection_decisions.percent_signed</code>.
     */
    public void setPercentSigned(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_rejection_decisions.percent_signed</code>.
     */
    public BigDecimal getPercentSigned() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>deregistration.view_rejection_decisions.percent_refused</code>.
     */
    public void setPercentRefused(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_rejection_decisions.percent_refused</code>.
     */
    public BigDecimal getPercentRefused() {
        return (BigDecimal) get(4);
    }

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

    /**
     * Create a detached ViewRejectionDecisionsRecord
     */
    public ViewRejectionDecisionsRecord() {
        super(ViewRejectionDecisions.VIEW_REJECTION_DECISIONS);
    }

    /**
     * Create a detached, initialised ViewRejectionDecisionsRecord
     */
    public ViewRejectionDecisionsRecord(Long rejectionDecisionsId, Long countAll, BigDecimal percentForSign, BigDecimal percentSigned, BigDecimal percentRefused) {
        super(ViewRejectionDecisions.VIEW_REJECTION_DECISIONS);

        setRejectionDecisionsId(rejectionDecisionsId);
        setCountAll(countAll);
        setPercentForSign(percentForSign);
        setPercentSigned(percentSigned);
        setPercentRefused(percentRefused);
        resetChangedOnNotNull();
    }
}
