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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.view_records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
     */
    public void setRecordsAboutRegistratedCitizenId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
     */
    public Long getRecordsAboutRegistratedCitizenId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>registration_change_address.view_records_about_registrated_citizen.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.percent_registrated_by_app_vk</code>.
     */
    public BigDecimal getPercentRegistratedByAppVk() {
        return (BigDecimal) get(2);
    }

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

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

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

    /**
     * Create a detached ViewRecordsAboutRegistratedCitizenRecord
     */
    public ViewRecordsAboutRegistratedCitizenRecord() {
        super(ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN);
    }

    /**
     * Create a detached, initialised ViewRecordsAboutRegistratedCitizenRecord
     */
    public ViewRecordsAboutRegistratedCitizenRecord(Long recordsAboutRegistratedCitizenId, Long countAll, BigDecimal percentRegistratedByAppVk, BigDecimal percentRegistratedAnotherVk) {
        super(ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN);

        setRecordsAboutRegistratedCitizenId(recordsAboutRegistratedCitizenId);
        setCountAll(countAll);
        setPercentRegistratedByAppVk(percentRegistratedByAppVk);
        setPercentRegistratedAnotherVk(percentRegistratedAnotherVk);
        resetChangedOnNotNull();
    }
}
