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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ViewIncidentsEpguInfo;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>actualization.view_incidents_epgu_info.incidents_epgu_info_id</code>.
     */
    public void setIncidentsEpguInfoId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>actualization.view_incidents_epgu_info.incidents_epgu_info_id</code>.
     */
    public Long getIncidentsEpguInfoId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>actualization.view_incidents_epgu_info.percent_resolved</code>.
     */
    public void setPercentResolved(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>actualization.view_incidents_epgu_info.percent_resolved</code>.
     */
    public BigDecimal getPercentResolved() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for
     * <code>actualization.view_incidents_epgu_info.count_not_resolved</code>.
     */
    public void setCountNotResolved(Long value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>actualization.view_incidents_epgu_info.count_not_resolved</code>.
     */
    public Long getCountNotResolved() {
        return (Long) get(2);
    }

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

    /**
     * Create a detached ViewIncidentsEpguInfoRecord
     */
    public ViewIncidentsEpguInfoRecord() {
        super(ViewIncidentsEpguInfo.VIEW_INCIDENTS_EPGU_INFO);
    }

    /**
     * Create a detached, initialised ViewIncidentsEpguInfoRecord
     */
    public ViewIncidentsEpguInfoRecord(Long incidentsEpguInfoId, BigDecimal percentResolved, Long countNotResolved) {
        super(ViewIncidentsEpguInfo.VIEW_INCIDENTS_EPGU_INFO);

        setIncidentsEpguInfoId(incidentsEpguInfoId);
        setPercentResolved(percentResolved);
        setCountNotResolved(countNotResolved);
        resetChangedOnNotNull();
    }
}
