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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.view_removal_registration.removal_registration_id</code>.
     */
    public void setRemovalRegistrationId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_removal_registration.removal_registration_id</code>.
     */
    public Long getRemovalRegistrationId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>deregistration.view_removal_registration.percent_age_limit</code>.
     */
    public void setPercentAgeLimit(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_removal_registration.percent_age_limit</code>.
     */
    public BigDecimal getPercentAgeLimit() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>deregistration.view_removal_registration.percent_reason_death</code>.
     */
    public void setPercentReasonDeath(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_removal_registration.percent_reason_death</code>.
     */
    public BigDecimal getPercentReasonDeath() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>deregistration.view_removal_registration.percent_loss_citizenship</code>.
     */
    public void setPercentLossCitizenship(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_removal_registration.percent_loss_citizenship</code>.
     */
    public BigDecimal getPercentLossCitizenship() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>deregistration.view_removal_registration.percent_cancellation_record</code>.
     */
    public void setPercentCancellationRecord(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_removal_registration.percent_cancellation_record</code>.
     */
    public BigDecimal getPercentCancellationRecord() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewRemovalRegistrationRecord
     */
    public ViewRemovalRegistrationRecord() {
        super(ViewRemovalRegistration.VIEW_REMOVAL_REGISTRATION);
    }

    /**
     * Create a detached, initialised ViewRemovalRegistrationRecord
     */
    public ViewRemovalRegistrationRecord(Long removalRegistrationId, Long countAll, BigDecimal percentAgeLimit, BigDecimal percentReasonDeath, BigDecimal percentLossCitizenship, BigDecimal percentCancellationRecord) {
        super(ViewRemovalRegistration.VIEW_REMOVAL_REGISTRATION);

        setRemovalRegistrationId(removalRegistrationId);
        setCountAll(countAll);
        setPercentAgeLimit(percentAgeLimit);
        setPercentReasonDeath(percentReasonDeath);
        setPercentLossCitizenship(percentLossCitizenship);
        setPercentCancellationRecord(percentCancellationRecord);
        resetChangedOnNotNull();
    }
}
