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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewRecordsInfoIdUkIdErn;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.view_records_info_id_uk_id_ern.records_info_id_uk_id_ern_id</code>.
     */
    public void setRecordsInfoIdUkIdErnId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_records_info_id_uk_id_ern.records_info_id_uk_id_ern_id</code>.
     */
    public Long getRecordsInfoIdUkIdErnId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_uk</code>.
     */
    public void setPercentWithIdUk(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_uk</code>.
     */
    public BigDecimal getPercentWithIdUk() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>init_registration_info.view_records_info_id_uk_id_ern.percent_without_id_uk</code>.
     */
    public void setPercentWithoutIdUk(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_records_info_id_uk_id_ern.percent_without_id_uk</code>.
     */
    public BigDecimal getPercentWithoutIdUk() {
        return (BigDecimal) get(3);
    }

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

    /**
     * Create a detached ViewRecordsInfoIdUkIdErnRecord
     */
    public ViewRecordsInfoIdUkIdErnRecord() {
        super(ViewRecordsInfoIdUkIdErn.VIEW_RECORDS_INFO_ID_UK_ID_ERN);
    }

    /**
     * Create a detached, initialised ViewRecordsInfoIdUkIdErnRecord
     */
    public ViewRecordsInfoIdUkIdErnRecord(Long recordsInfoIdUkIdErnId, Long countAll, BigDecimal percentWithIdUk, BigDecimal percentWithoutIdUk) {
        super(ViewRecordsInfoIdUkIdErn.VIEW_RECORDS_INFO_ID_UK_ID_ERN);

        setRecordsInfoIdUkIdErnId(recordsInfoIdUkIdErnId);
        setCountAll(countAll);
        setPercentWithIdUk(percentWithIdUk);
        setPercentWithoutIdUk(percentWithoutIdUk);
        resetChangedOnNotNull();
    }
}
