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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.view_incidents_files_requests.incidents_files_requests_id</code>.
     */
    public void setIncidentsFilesRequestsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.view_incidents_files_requests.incidents_files_requests_id</code>.
     */
    public Long getIncidentsFilesRequestsId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>metrics.view_incidents_files_requests.percent_requisites_entered</code>.
     */
    public void setPercentRequisitesEntered(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>metrics.view_incidents_files_requests.percent_requisites_entered</code>.
     */
    public BigDecimal getPercentRequisitesEntered() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for
     * <code>metrics.view_incidents_files_requests.percent_results_entered</code>.
     */
    public void setPercentResultsEntered(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>metrics.view_incidents_files_requests.percent_results_entered</code>.
     */
    public BigDecimal getPercentResultsEntered() {
        return (BigDecimal) get(2);
    }

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

    /**
     * Create a detached ViewIncidentsFilesRequestsRecord
     */
    public ViewIncidentsFilesRequestsRecord() {
        super(ViewIncidentsFilesRequests.VIEW_INCIDENTS_FILES_REQUESTS);
    }

    /**
     * Create a detached, initialised ViewIncidentsFilesRequestsRecord
     */
    public ViewIncidentsFilesRequestsRecord(Long incidentsFilesRequestsId, BigDecimal percentRequisitesEntered, BigDecimal percentResultsEntered) {
        super(ViewIncidentsFilesRequests.VIEW_INCIDENTS_FILES_REQUESTS);

        setIncidentsFilesRequestsId(incidentsFilesRequestsId);
        setPercentRequisitesEntered(percentRequisitesEntered);
        setPercentResultsEntered(percentResultsEntered);
        resetChangedOnNotNull();
    }
}
