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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.view_change_data_personal_visit.change_data_personal_visit_id</code>.
     */
    public void setChangeDataPersonalVisitId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_change_data_personal_visit.change_data_personal_visit_id</code>.
     */
    public Long getChangeDataPersonalVisitId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>registration_change_address.view_change_data_personal_visit.percent_for_sign</code>.
     */
    public void setPercentForSign(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_change_data_personal_visit.percent_for_sign</code>.
     */
    public BigDecimal getPercentForSign() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_change_data_personal_visit.percent_signed</code>.
     */
    public void setPercentSigned(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_change_data_personal_visit.percent_signed</code>.
     */
    public BigDecimal getPercentSigned() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>registration_change_address.view_change_data_personal_visit.percent_refused</code>.
     */
    public void setPercentRefused(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.view_change_data_personal_visit.percent_refused</code>.
     */
    public BigDecimal getPercentRefused() {
        return (BigDecimal) get(4);
    }

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

    /**
     * Create a detached ViewChangeDataPersonalVisitRecord
     */
    public ViewChangeDataPersonalVisitRecord() {
        super(ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT);
    }

    /**
     * Create a detached, initialised ViewChangeDataPersonalVisitRecord
     */
    public ViewChangeDataPersonalVisitRecord(Long changeDataPersonalVisitId, Long countAll, BigDecimal percentForSign, BigDecimal percentSigned, BigDecimal percentRefused) {
        super(ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT);

        setChangeDataPersonalVisitId(changeDataPersonalVisitId);
        setCountAll(countAll);
        setPercentForSign(percentForSign);
        setPercentSigned(percentSigned);
        setPercentRefused(percentRefused);
        resetChangedOnNotNull();
    }
}
