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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.applications_received_from_epgu_id</code>.
     */
    public void setApplicationsReceivedFromEpguId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.applications_received_from_epgu_id</code>.
     */
    public Long getApplicationsReceivedFromEpguId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.percent_registrated_by_app_vk</code>.
     */
    public void setPercentRegistratedByAppVk(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.percent_registrated_by_app_vk</code>.
     */
    public BigDecimal getPercentRegistratedByAppVk() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.percent_registrated_another_vk</code>.
     */
    public void setPercentRegistratedAnotherVk(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.percent_registrated_another_vk</code>.
     */
    public BigDecimal getPercentRegistratedAnotherVk() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.count_registrated_by_app_vk</code>.
     */
    public void setCountRegistratedByAppVk(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.count_registrated_by_app_vk</code>.
     */
    public BigDecimal getCountRegistratedByAppVk() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.count_registrated_another_vk</code>.
     */
    public void setCountRegistratedAnotherVk(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_records_about_registrated_citizen_v2.count_registrated_another_vk</code>.
     */
    public BigDecimal getCountRegistratedAnotherVk() {
        return (BigDecimal) get(5);
    }

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

    /**
     * Create a detached ViewRecordsAboutRegistratedCitizenV2Record
     */
    public ViewRecordsAboutRegistratedCitizenV2Record() {
        super(ViewRecordsAboutRegistratedCitizenV2.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN_V2);
    }

    /**
     * Create a detached, initialised ViewRecordsAboutRegistratedCitizenV2Record
     */
    public ViewRecordsAboutRegistratedCitizenV2Record(Long applicationsReceivedFromEpguId, Long countAll, BigDecimal percentRegistratedByAppVk, BigDecimal percentRegistratedAnotherVk, BigDecimal countRegistratedByAppVk, BigDecimal countRegistratedAnotherVk) {
        super(ViewRecordsAboutRegistratedCitizenV2.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN_V2);

        setApplicationsReceivedFromEpguId(applicationsReceivedFromEpguId);
        setCountAll(countAll);
        setPercentRegistratedByAppVk(percentRegistratedByAppVk);
        setPercentRegistratedAnotherVk(percentRegistratedAnotherVk);
        setCountRegistratedByAppVk(countRegistratedByAppVk);
        setCountRegistratedAnotherVk(countRegistratedAnotherVk);
        resetChangedOnNotNull();
    }
}
