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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.tables.ViewProcessedRecords;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.view_processed_records.processed_records_id</code>.
     */
    public void setProcessedRecordsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_processed_records.processed_records_id</code>.
     */
    public Long getProcessedRecordsId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>journal_log.view_processed_records.percent_flk_error</code>.
     */
    public void setPercentFlkError(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_processed_records.percent_flk_error</code>.
     */
    public BigDecimal getPercentFlkError() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>journal_log.view_processed_records.percent_time_error</code>.
     */
    public void setPercentTimeError(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_processed_records.percent_time_error</code>.
     */
    public BigDecimal getPercentTimeError() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for <code>journal_log.view_processed_records.percent_new</code>.
     */
    public void setPercentNew(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>journal_log.view_processed_records.percent_new</code>.
     */
    public BigDecimal getPercentNew() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>journal_log.view_processed_records.percent_actual</code>.
     */
    public void setPercentActual(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_processed_records.percent_actual</code>.
     */
    public BigDecimal getPercentActual() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewProcessedRecordsRecord
     */
    public ViewProcessedRecordsRecord() {
        super(ViewProcessedRecords.VIEW_PROCESSED_RECORDS);
    }

    /**
     * Create a detached, initialised ViewProcessedRecordsRecord
     */
    public ViewProcessedRecordsRecord(Long processedRecordsId, Long countAll, BigDecimal percentFlkError, BigDecimal percentTimeError, BigDecimal percentNew, BigDecimal percentActual) {
        super(ViewProcessedRecords.VIEW_PROCESSED_RECORDS);

        setProcessedRecordsId(processedRecordsId);
        setCountAll(countAll);
        setPercentFlkError(percentFlkError);
        setPercentTimeError(percentTimeError);
        setPercentNew(percentNew);
        setPercentActual(percentActual);
        resetChangedOnNotNull();
    }
}
