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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRecruitOfficeVisit;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>summonses_list.view_recruit_office_visit.recruit_office_visit_id</code>.
     */
    public void setRecruitOfficeVisitId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_recruit_office_visit.recruit_office_visit_id</code>.
     */
    public Long getRecruitOfficeVisitId() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>summonses_list.view_recruit_office_visit.percent_visit</code>.
     */
    public void setPercentVisit(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_recruit_office_visit.percent_visit</code>.
     */
    public BigDecimal getPercentVisit() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>summonses_list.view_recruit_office_visit.percent_not_visit</code>.
     */
    public void setPercentNotVisit(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_recruit_office_visit.percent_not_visit</code>.
     */
    public BigDecimal getPercentNotVisit() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>summonses_list.view_recruit_office_visit.percent_valid_reason</code>.
     */
    public void setPercentValidReason(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_recruit_office_visit.percent_valid_reason</code>.
     */
    public BigDecimal getPercentValidReason() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for
     * <code>summonses_list.view_recruit_office_visit.percent_not_need</code>.
     */
    public void setPercentNotNeed(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_recruit_office_visit.percent_not_need</code>.
     */
    public BigDecimal getPercentNotNeed() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for
     * <code>summonses_list.view_recruit_office_visit.percent_hand_over_not_need</code>.
     */
    public void setPercentHandOverNotNeed(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>summonses_list.view_recruit_office_visit.percent_hand_over_not_need</code>.
     */
    public BigDecimal getPercentHandOverNotNeed() {
        return (BigDecimal) get(6);
    }

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

    /**
     * Create a detached ViewRecruitOfficeVisitRecord
     */
    public ViewRecruitOfficeVisitRecord() {
        super(ViewRecruitOfficeVisit.VIEW_RECRUIT_OFFICE_VISIT);
    }

    /**
     * Create a detached, initialised ViewRecruitOfficeVisitRecord
     */
    public ViewRecruitOfficeVisitRecord(Long recruitOfficeVisitId, Long countAll, BigDecimal percentVisit, BigDecimal percentNotVisit, BigDecimal percentValidReason, BigDecimal percentNotNeed, BigDecimal percentHandOverNotNeed) {
        super(ViewRecruitOfficeVisit.VIEW_RECRUIT_OFFICE_VISIT);

        setRecruitOfficeVisitId(recruitOfficeVisitId);
        setCountAll(countAll);
        setPercentVisit(percentVisit);
        setPercentNotVisit(percentNotVisit);
        setPercentValidReason(percentValidReason);
        setPercentNotNeed(percentNotNeed);
        setPercentHandOverNotNeed(percentHandOverNotNeed);
        resetChangedOnNotNull();
    }
}
