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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.view_decisions_signing.decisions_signing_id</code>.
     */
    public void setDecisionsSigningId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_decisions_signing.decisions_signing_id</code>.
     */
    public Long getDecisionsSigningId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>deregistration.view_decisions_signing.count_arrived_all</code>.
     */
    public void setCountArrivedAll(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_decisions_signing.count_arrived_all</code>.
     */
    public Long getCountArrivedAll() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>deregistration.view_decisions_signing.percent_arrived_death_reason</code>.
     */
    public void setPercentArrivedDeathReason(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_decisions_signing.percent_arrived_death_reason</code>.
     */
    public BigDecimal getPercentArrivedDeathReason() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>deregistration.view_decisions_signing.percent_arrived_age_limit</code>.
     */
    public void setPercentArrivedAgeLimit(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_decisions_signing.percent_arrived_age_limit</code>.
     */
    public BigDecimal getPercentArrivedAgeLimit() {
        return (BigDecimal) get(3);
    }

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

    /**
     * Create a detached ViewDecisionsSigningRecord
     */
    public ViewDecisionsSigningRecord() {
        super(ViewDecisionsSigning.VIEW_DECISIONS_SIGNING);
    }

    /**
     * Create a detached, initialised ViewDecisionsSigningRecord
     */
    public ViewDecisionsSigningRecord(Long decisionsSigningId, Long countArrivedAll, BigDecimal percentArrivedDeathReason, BigDecimal percentArrivedAgeLimit) {
        super(ViewDecisionsSigning.VIEW_DECISIONS_SIGNING);

        setDecisionsSigningId(decisionsSigningId);
        setCountArrivedAll(countArrivedAll);
        setPercentArrivedDeathReason(percentArrivedDeathReason);
        setPercentArrivedAgeLimit(percentArrivedAgeLimit);
        resetChangedOnNotNull();
    }
}
