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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewInitRegistrationFromGirVu;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.init_registration_from_gir_vu_id</code>.
     */
    public void setInitRegistrationFromGirVuId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.init_registration_from_gir_vu_id</code>.
     */
    public Long getInitRegistrationFromGirVuId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.percent_womens</code>.
     */
    public void setPercentWomens(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.percent_womens</code>.
     */
    public BigDecimal getPercentWomens() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.percent_received_citizenship</code>.
     */
    public void setPercentReceivedCitizenship(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.percent_received_citizenship</code>.
     */
    public BigDecimal getPercentReceivedCitizenship() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.percent_serving_sentence</code>.
     */
    public void setPercentServingSentence(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>init_registration_info.view_init_registration_from_gir_vu.percent_serving_sentence</code>.
     */
    public BigDecimal getPercentServingSentence() {
        return (BigDecimal) get(4);
    }

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

    /**
     * Create a detached ViewInitRegistrationFromGirVuRecord
     */
    public ViewInitRegistrationFromGirVuRecord() {
        super(ViewInitRegistrationFromGirVu.VIEW_INIT_REGISTRATION_FROM_GIR_VU);
    }

    /**
     * Create a detached, initialised ViewInitRegistrationFromGirVuRecord
     */
    public ViewInitRegistrationFromGirVuRecord(Long initRegistrationFromGirVuId, Long countAll, BigDecimal percentWomens, BigDecimal percentReceivedCitizenship, BigDecimal percentServingSentence) {
        super(ViewInitRegistrationFromGirVu.VIEW_INIT_REGISTRATION_FROM_GIR_VU);

        setInitRegistrationFromGirVuId(initRegistrationFromGirVuId);
        setCountAll(countAll);
        setPercentWomens(percentWomens);
        setPercentReceivedCitizenship(percentReceivedCitizenship);
        setPercentServingSentence(percentServingSentence);
        resetChangedOnNotNull();
    }
}
