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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewPersonalInfoStat;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.view_personal_info_stat.personal_info_stat_id</code>.
     */
    public void setPersonalInfoStatId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_personal_info_stat.personal_info_stat_id</code>.
     */
    public Long getPersonalInfoStatId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>registration_change_address.view_personal_info_stat.percent_refused</code>.
     */
    public void setPercentRefused(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_personal_info_stat.percent_refused</code>.
     */
    public BigDecimal getPercentRefused() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_personal_info_stat.percent_unloaded</code>.
     */
    public void setPercentUnloaded(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_personal_info_stat.percent_unloaded</code>.
     */
    public BigDecimal getPercentUnloaded() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_personal_info_stat.percent_accepted_to_send</code>.
     */
    public void setPercentAcceptedToSend(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_personal_info_stat.percent_accepted_to_send</code>.
     */
    public BigDecimal getPercentAcceptedToSend() {
        return (BigDecimal) get(4);
    }

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

    /**
     * Create a detached ViewPersonalInfoStatRecord
     */
    public ViewPersonalInfoStatRecord() {
        super(ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT);
    }

    /**
     * Create a detached, initialised ViewPersonalInfoStatRecord
     */
    public ViewPersonalInfoStatRecord(Long personalInfoStatId, Long countAll, BigDecimal percentRefused, BigDecimal percentUnloaded, BigDecimal percentAcceptedToSend) {
        super(ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT);

        setPersonalInfoStatId(personalInfoStatId);
        setCountAll(countAll);
        setPercentRefused(percentRefused);
        setPercentUnloaded(percentUnloaded);
        setPercentAcceptedToSend(percentAcceptedToSend);
        resetChangedOnNotNull();
    }
}
