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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.view_convert_info_loaded_records.convert_info_loaded_records_id</code>.
     */
    public void setConvertInfoLoadedRecordsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.view_convert_info_loaded_records.convert_info_loaded_records_id</code>.
     */
    public Long getConvertInfoLoadedRecordsId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>metrics.view_convert_info_loaded_records.percent_error</code>.
     */
    public void setPercentError(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>metrics.view_convert_info_loaded_records.percent_error</code>.
     */
    public BigDecimal getPercentError() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>metrics.view_convert_info_loaded_records.percent_success</code>.
     */
    public void setPercentSuccess(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>metrics.view_convert_info_loaded_records.percent_success</code>.
     */
    public BigDecimal getPercentSuccess() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>metrics.view_convert_info_loaded_records.percent_not_success</code>.
     */
    public void setPercentNotSuccess(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.view_convert_info_loaded_records.percent_not_success</code>.
     */
    public BigDecimal getPercentNotSuccess() {
        return (BigDecimal) get(4);
    }

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

    /**
     * Create a detached ViewConvertInfoLoadedRecordsRecord
     */
    public ViewConvertInfoLoadedRecordsRecord() {
        super(ViewConvertInfoLoadedRecords.VIEW_CONVERT_INFO_LOADED_RECORDS);
    }

    /**
     * Create a detached, initialised ViewConvertInfoLoadedRecordsRecord
     */
    public ViewConvertInfoLoadedRecordsRecord(Long convertInfoLoadedRecordsId, Long countAll, BigDecimal percentError, BigDecimal percentSuccess, BigDecimal percentNotSuccess) {
        super(ViewConvertInfoLoadedRecords.VIEW_CONVERT_INFO_LOADED_RECORDS);

        setConvertInfoLoadedRecordsId(convertInfoLoadedRecordsId);
        setCountAll(countAll);
        setPercentError(percentError);
        setPercentSuccess(percentSuccess);
        setPercentNotSuccess(percentNotSuccess);
        resetChangedOnNotNull();
    }
}
