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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.view_statuses_decisions_on_epgu.statuses_decisions_on_epgu_id</code>.
     */
    public void setStatusesDecisionsOnEpguId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_statuses_decisions_on_epgu.statuses_decisions_on_epgu_id</code>.
     */
    public Long getStatusesDecisionsOnEpguId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>init_registration_info.view_statuses_decisions_on_epgu.percent_formed_for_signing</code>.
     */
    public void setPercentFormedForSigning(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_statuses_decisions_on_epgu.percent_formed_for_signing</code>.
     */
    public BigDecimal getPercentFormedForSigning() {
        return (BigDecimal) get(2);
    }

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

    /**
     * Create a detached ViewStatusesDecisionsOnEpguRecord
     */
    public ViewStatusesDecisionsOnEpguRecord() {
        super(ViewStatusesDecisionsOnEpgu.VIEW_STATUSES_DECISIONS_ON_EPGU);
    }

    /**
     * Create a detached, initialised ViewStatusesDecisionsOnEpguRecord
     */
    public ViewStatusesDecisionsOnEpguRecord(Long statusesDecisionsOnEpguId, BigDecimal percentSigned, BigDecimal percentFormedForSigning) {
        super(ViewStatusesDecisionsOnEpgu.VIEW_STATUSES_DECISIONS_ON_EPGU);

        setStatusesDecisionsOnEpguId(statusesDecisionsOnEpguId);
        setPercentSigned(percentSigned);
        setPercentFormedForSigning(percentFormedForSigning);
        resetChangedOnNotNull();
    }
}
