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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRfLeavingBan;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list.view_rf_leaving_ban.rf_leaving_ban_id</code>.
     */
    public void setRfLeavingBanId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_rf_leaving_ban.rf_leaving_ban_id</code>.
     */
    public Long getRfLeavingBanId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>summonses_list.view_rf_leaving_ban.percent_for_sign</code>.
     */
    public void setPercentForSign(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_rf_leaving_ban.percent_for_sign</code>.
     */
    public BigDecimal getPercentForSign() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>summonses_list.view_rf_leaving_ban.percent_signed</code>.
     */
    public void setPercentSigned(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_rf_leaving_ban.percent_signed</code>.
     */
    public BigDecimal getPercentSigned() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for <code>summonses_list.view_rf_leaving_ban.percent_enter</code>.
     */
    public void setPercentEnter(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>summonses_list.view_rf_leaving_ban.percent_enter</code>.
     */
    public BigDecimal getPercentEnter() {
        return (BigDecimal) get(4);
    }

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

    /**
     * Create a detached ViewRfLeavingBanRecord
     */
    public ViewRfLeavingBanRecord() {
        super(ViewRfLeavingBan.VIEW_RF_LEAVING_BAN);
    }

    /**
     * Create a detached, initialised ViewRfLeavingBanRecord
     */
    public ViewRfLeavingBanRecord(Long rfLeavingBanId, Long countAll, BigDecimal percentForSign, BigDecimal percentSigned, BigDecimal percentEnter) {
        super(ViewRfLeavingBan.VIEW_RF_LEAVING_BAN);

        setRfLeavingBanId(rfLeavingBanId);
        setCountAll(countAll);
        setPercentForSign(percentForSign);
        setPercentSigned(percentSigned);
        setPercentEnter(percentEnter);
        resetChangedOnNotNull();
    }
}
