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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.view_incidents_recieved_by_data_from_gir_vu.incidents_recieved_by_data_from_gir_vu_id</code>.
     */
    public void setIncidentsRecievedByDataFromGirVuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.view_incidents_recieved_by_data_from_gir_vu.incidents_recieved_by_data_from_gir_vu_id</code>.
     */
    public Long getIncidentsRecievedByDataFromGirVuId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>metrics.view_incidents_recieved_by_data_from_gir_vu.percent_confirmed</code>.
     */
    public void setPercentConfirmed(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>metrics.view_incidents_recieved_by_data_from_gir_vu.percent_confirmed</code>.
     */
    public BigDecimal getPercentConfirmed() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>metrics.view_incidents_recieved_by_data_from_gir_vu.percent_not_confirmed</code>.
     */
    public void setPercentNotConfirmed(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>metrics.view_incidents_recieved_by_data_from_gir_vu.percent_not_confirmed</code>.
     */
    public BigDecimal getPercentNotConfirmed() {
        return (BigDecimal) get(3);
    }

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

    /**
     * Create a detached ViewIncidentsRecievedByDataFromGirVuRecord
     */
    public ViewIncidentsRecievedByDataFromGirVuRecord() {
        super(ViewIncidentsRecievedByDataFromGirVu.VIEW_INCIDENTS_RECIEVED_BY_DATA_FROM_GIR_VU);
    }

    /**
     * Create a detached, initialised ViewIncidentsRecievedByDataFromGirVuRecord
     */
    public ViewIncidentsRecievedByDataFromGirVuRecord(Long incidentsRecievedByDataFromGirVuId, Long countAll, BigDecimal percentConfirmed, BigDecimal percentNotConfirmed) {
        super(ViewIncidentsRecievedByDataFromGirVu.VIEW_INCIDENTS_RECIEVED_BY_DATA_FROM_GIR_VU);

        setIncidentsRecievedByDataFromGirVuId(incidentsRecievedByDataFromGirVuId);
        setCountAll(countAll);
        setPercentConfirmed(percentConfirmed);
        setPercentNotConfirmed(percentNotConfirmed);
        resetChangedOnNotNull();
    }
}
