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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewGeneratedSolutions;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>deregistration.view_generated_solutions.generated_solutions_id</code>.
     */
    public void setGeneratedSolutionsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_generated_solutions.generated_solutions_id</code>.
     */
    public Long getGeneratedSolutionsId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>deregistration.view_generated_solutions.count_arrived_all</code>.
     */
    public void setCountArrivedAll(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_generated_solutions.count_arrived_all</code>.
     */
    public Long getCountArrivedAll() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>deregistration.view_generated_solutions.percent_arrived_death_reason</code>.
     */
    public void setPercentArrivedDeathReason(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_generated_solutions.percent_arrived_death_reason</code>.
     */
    public BigDecimal getPercentArrivedDeathReason() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>deregistration.view_generated_solutions.percent_arrived_age_limit</code>.
     */
    public void setPercentArrivedAgeLimit(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>deregistration.view_generated_solutions.percent_arrived_age_limit</code>.
     */
    public BigDecimal getPercentArrivedAgeLimit() {
        return (BigDecimal) get(3);
    }

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

    /**
     * Create a detached ViewGeneratedSolutionsRecord
     */
    public ViewGeneratedSolutionsRecord() {
        super(ViewGeneratedSolutions.VIEW_GENERATED_SOLUTIONS);
    }

    /**
     * Create a detached, initialised ViewGeneratedSolutionsRecord
     */
    public ViewGeneratedSolutionsRecord(Long generatedSolutionsId, Long countArrivedAll, BigDecimal percentArrivedDeathReason, BigDecimal percentArrivedAgeLimit) {
        super(ViewGeneratedSolutions.VIEW_GENERATED_SOLUTIONS);

        setGeneratedSolutionsId(generatedSolutionsId);
        setCountArrivedAll(countArrivedAll);
        setPercentArrivedDeathReason(percentArrivedDeathReason);
        setPercentArrivedAgeLimit(percentArrivedAgeLimit);
        resetChangedOnNotNull();
    }
}
