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


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewCriminalAdministrativeLiability;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.view_criminal_administrative_liability.criminal_administrative_liability_id</code>.
     */
    public void setCriminalAdministrativeLiabilityId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.view_criminal_administrative_liability.criminal_administrative_liability_id</code>.
     */
    public Long getCriminalAdministrativeLiabilityId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>metrics.view_criminal_administrative_liability.percent_criminal</code>.
     */
    public void setPercentCriminal(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>metrics.view_criminal_administrative_liability.percent_criminal</code>.
     */
    public BigDecimal getPercentCriminal() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for
     * <code>metrics.view_criminal_administrative_liability.percent_administrative</code>.
     */
    public void setPercentAdministrative(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>metrics.view_criminal_administrative_liability.percent_administrative</code>.
     */
    public BigDecimal getPercentAdministrative() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>metrics.view_criminal_administrative_liability.count_without_criminal</code>.
     */
    public void setCountWithoutCriminal(Long value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>metrics.view_criminal_administrative_liability.count_without_criminal</code>.
     */
    public Long getCountWithoutCriminal() {
        return (Long) get(3);
    }

    /**
     * Setter for
     * <code>metrics.view_criminal_administrative_liability.count_without_administrative</code>.
     */
    public void setCountWithoutAdministrative(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.view_criminal_administrative_liability.count_without_administrative</code>.
     */
    public Long getCountWithoutAdministrative() {
        return (Long) get(4);
    }

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

    /**
     * Create a detached ViewCriminalAdministrativeLiabilityRecord
     */
    public ViewCriminalAdministrativeLiabilityRecord() {
        super(ViewCriminalAdministrativeLiability.VIEW_CRIMINAL_ADMINISTRATIVE_LIABILITY);
    }

    /**
     * Create a detached, initialised ViewCriminalAdministrativeLiabilityRecord
     */
    public ViewCriminalAdministrativeLiabilityRecord(Long criminalAdministrativeLiabilityId, BigDecimal percentCriminal, BigDecimal percentAdministrative, Long countWithoutCriminal, Long countWithoutAdministrative) {
        super(ViewCriminalAdministrativeLiability.VIEW_CRIMINAL_ADMINISTRATIVE_LIABILITY);

        setCriminalAdministrativeLiabilityId(criminalAdministrativeLiabilityId);
        setPercentCriminal(percentCriminal);
        setPercentAdministrative(percentAdministrative);
        setCountWithoutCriminal(countWithoutCriminal);
        setCountWithoutAdministrative(countWithoutAdministrative);
        resetChangedOnNotNull();
    }
}
