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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewDataFromGirVu;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.view_data_from_gir_vu.data_from_gir_vu_id</code>.
     */
    public void setDataFromGirVuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_data_from_gir_vu.data_from_gir_vu_id</code>.
     */
    public Long getDataFromGirVuId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>deregistration.view_data_from_gir_vu.count_arrived_all</code>.
     */
    public void setCountArrivedAll(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_data_from_gir_vu.count_arrived_all</code>.
     */
    public Long getCountArrivedAll() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>deregistration.view_data_from_gir_vu.percent_arrived_death_reason</code>.
     */
    public void setPercentArrivedDeathReason(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_data_from_gir_vu.percent_arrived_death_reason</code>.
     */
    public BigDecimal getPercentArrivedDeathReason() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>deregistration.view_data_from_gir_vu.percent_arrived_age_limit</code>.
     */
    public void setPercentArrivedAgeLimit(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_data_from_gir_vu.percent_arrived_age_limit</code>.
     */
    public BigDecimal getPercentArrivedAgeLimit() {
        return (BigDecimal) get(3);
    }

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

    /**
     * Create a detached ViewDataFromGirVuRecord
     */
    public ViewDataFromGirVuRecord() {
        super(ViewDataFromGirVu.VIEW_DATA_FROM_GIR_VU);
    }

    /**
     * Create a detached, initialised ViewDataFromGirVuRecord
     */
    public ViewDataFromGirVuRecord(Long dataFromGirVuId, Long countArrivedAll, BigDecimal percentArrivedDeathReason, BigDecimal percentArrivedAgeLimit) {
        super(ViewDataFromGirVu.VIEW_DATA_FROM_GIR_VU);

        setDataFromGirVuId(dataFromGirVuId);
        setCountArrivedAll(countArrivedAll);
        setPercentArrivedDeathReason(percentArrivedDeathReason);
        setPercentArrivedAgeLimit(percentArrivedAgeLimit);
        resetChangedOnNotNull();
    }
}
