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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.view_applications_sent_from_epgu.applications_sent_from_epgu_id</code>.
     */
    public void setApplicationsSentFromEpguId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_applications_sent_from_epgu.applications_sent_from_epgu_id</code>.
     */
    public Long getApplicationsSentFromEpguId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>deregistration.view_applications_sent_from_epgu.percent_moved_residence</code>.
     */
    public void setPercentMovedResidence(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_applications_sent_from_epgu.percent_moved_residence</code>.
     */
    public BigDecimal getPercentMovedResidence() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>deregistration.view_applications_sent_from_epgu.percent_departure_more_6_month</code>.
     */
    public void setPercentDepartureMore_6Month(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_applications_sent_from_epgu.percent_departure_more_6_month</code>.
     */
    public BigDecimal getPercentDepartureMore_6Month() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>deregistration.view_applications_sent_from_epgu.percent_health_condition</code>.
     */
    public void setPercentHealthCondition(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_applications_sent_from_epgu.percent_health_condition</code>.
     */
    public BigDecimal getPercentHealthCondition() {
        return (BigDecimal) get(4);
    }

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

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

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

    /**
     * Create a detached ViewApplicationsSentFromEpguRecord
     */
    public ViewApplicationsSentFromEpguRecord() {
        super(ViewApplicationsSentFromEpgu.VIEW_APPLICATIONS_SENT_FROM_EPGU);
    }

    /**
     * Create a detached, initialised ViewApplicationsSentFromEpguRecord
     */
    public ViewApplicationsSentFromEpguRecord(Long applicationsSentFromEpguId, Long countAll, BigDecimal percentMovedResidence, BigDecimal percentDepartureMore_6Month, BigDecimal percentHealthCondition, BigDecimal percentAgeLimit) {
        super(ViewApplicationsSentFromEpgu.VIEW_APPLICATIONS_SENT_FROM_EPGU);

        setApplicationsSentFromEpguId(applicationsSentFromEpguId);
        setCountAll(countAll);
        setPercentMovedResidence(percentMovedResidence);
        setPercentDepartureMore_6Month(percentDepartureMore_6Month);
        setPercentHealthCondition(percentHealthCondition);
        setPercentAgeLimit(percentAgeLimit);
        resetChangedOnNotNull();
    }
}
