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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>deregistration.view_solutions.solutions_id</code>.
     */
    public void setSolutionsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>deregistration.view_solutions.solutions_id</code>.
     */
    public Long getSolutionsId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>deregistration.view_solutions.count_accepted_all</code>.
     */
    public void setCountAcceptedAll(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>deregistration.view_solutions.count_accepted_all</code>.
     */
    public Long getCountAcceptedAll() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>deregistration.view_solutions.percent_accepted_for_sign</code>.
     */
    public void setPercentAcceptedForSign(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_solutions.percent_accepted_for_sign</code>.
     */
    public BigDecimal getPercentAcceptedForSign() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>deregistration.view_solutions.percent_accepted_signed</code>.
     */
    public void setPercentAcceptedSigned(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_solutions.percent_accepted_signed</code>.
     */
    public BigDecimal getPercentAcceptedSigned() {
        return (BigDecimal) get(3);
    }

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

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

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

    /**
     * Create a detached ViewSolutionsRecord
     */
    public ViewSolutionsRecord() {
        super(ViewSolutions.VIEW_SOLUTIONS);
    }

    /**
     * Create a detached, initialised ViewSolutionsRecord
     */
    public ViewSolutionsRecord(Long solutionsId, Long countAcceptedAll, BigDecimal percentAcceptedForSign, BigDecimal percentAcceptedSigned, BigDecimal percentRefused) {
        super(ViewSolutions.VIEW_SOLUTIONS);

        setSolutionsId(solutionsId);
        setCountAcceptedAll(countAcceptedAll);
        setPercentAcceptedForSign(percentAcceptedForSign);
        setPercentAcceptedSigned(percentAcceptedSigned);
        setPercentRefused(percentRefused);
        resetChangedOnNotNull();
    }
}
