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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewCitizenAppeals;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>metrics.view_citizen_appeals.citizen_appeals_id</code>.
     */
    public void setCitizenAppealsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>metrics.view_citizen_appeals.citizen_appeals_id</code>.
     */
    public Long getCitizenAppealsId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>metrics.view_citizen_appeals.count_accepted_to_consideration</code>.
     */
    public void setCountAcceptedToConsideration(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>metrics.view_citizen_appeals.count_accepted_to_consideration</code>.
     */
    public Long getCountAcceptedToConsideration() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>metrics.view_citizen_appeals.count_submitted_difference_accepted</code>.
     */
    public void setCountSubmittedDifferenceAccepted(Long value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>metrics.view_citizen_appeals.count_submitted_difference_accepted</code>.
     */
    public Long getCountSubmittedDifferenceAccepted() {
        return (Long) get(2);
    }

    /**
     * Setter for
     * <code>metrics.view_citizen_appeals.percent_accepted_to_consideration</code>.
     */
    public void setPercentAcceptedToConsideration(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>metrics.view_citizen_appeals.percent_accepted_to_consideration</code>.
     */
    public BigDecimal getPercentAcceptedToConsideration() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for <code>metrics.view_citizen_appeals.percent_satisfided</code>.
     */
    public void setPercentSatisfided(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>metrics.view_citizen_appeals.percent_satisfided</code>.
     */
    public BigDecimal getPercentSatisfided() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>metrics.view_citizen_appeals.percent_not_satisfided</code>.
     */
    public void setPercentNotSatisfided(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>metrics.view_citizen_appeals.percent_not_satisfided</code>.
     */
    public BigDecimal getPercentNotSatisfided() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for
     * <code>metrics.view_citizen_appeals.percent_accepted_expired</code>.
     */
    public void setPercentAcceptedExpired(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>metrics.view_citizen_appeals.percent_accepted_expired</code>.
     */
    public BigDecimal getPercentAcceptedExpired() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for
     * <code>metrics.view_citizen_appeals.percent_accepted_on_time</code>.
     */
    public void setPercentAcceptedOnTime(BigDecimal value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>metrics.view_citizen_appeals.percent_accepted_on_time</code>.
     */
    public BigDecimal getPercentAcceptedOnTime() {
        return (BigDecimal) get(7);
    }

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

    /**
     * Create a detached ViewCitizenAppealsRecord
     */
    public ViewCitizenAppealsRecord() {
        super(ViewCitizenAppeals.VIEW_CITIZEN_APPEALS);
    }

    /**
     * Create a detached, initialised ViewCitizenAppealsRecord
     */
    public ViewCitizenAppealsRecord(Long citizenAppealsId, Long countAcceptedToConsideration, Long countSubmittedDifferenceAccepted, BigDecimal percentAcceptedToConsideration, BigDecimal percentSatisfided, BigDecimal percentNotSatisfided, BigDecimal percentAcceptedExpired, BigDecimal percentAcceptedOnTime) {
        super(ViewCitizenAppeals.VIEW_CITIZEN_APPEALS);

        setCitizenAppealsId(citizenAppealsId);
        setCountAcceptedToConsideration(countAcceptedToConsideration);
        setCountSubmittedDifferenceAccepted(countSubmittedDifferenceAccepted);
        setPercentAcceptedToConsideration(percentAcceptedToConsideration);
        setPercentSatisfided(percentSatisfided);
        setPercentNotSatisfided(percentNotSatisfided);
        setPercentAcceptedExpired(percentAcceptedExpired);
        setPercentAcceptedOnTime(percentAcceptedOnTime);
        resetChangedOnNotNull();
    }
}
