/*
 * This file is generated by jOOQ.
 */
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records;


import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals;

import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;

import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;


/**
 * Обжалования уровень РФ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>main_dashboard.appeals.id_appeal</code>.
     */
    public void setIdAppeal(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.id_appeal</code>.
     */
    public Long getIdAppeal() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
     */
    public void setTotalAppeals(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
     */
    public BigDecimal getTotalAppeals() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for <code>main_dashboard.appeals.resolved</code>. Количество
     * решенных
     */
    public void setResolved(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.resolved</code>. Количество
     * решенных
     */
    public BigDecimal getResolved() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for <code>main_dashboard.appeals.average_consideration</code>.
     * Средний срок рассмотрения
     */
    public void setAverageConsideration(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.average_consideration</code>.
     * Средний срок рассмотрения
     */
    public BigDecimal getAverageConsideration() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for <code>main_dashboard.appeals.average_rating</code>. Оценка
     * удовлетворенности
     */
    public void setAverageRating(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.average_rating</code>. Оценка
     * удовлетворенности
     */
    public BigDecimal getAverageRating() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>main_dashboard.appeals.average_to_face</code>. Способ
     * подачи жалоб очно
     */
    public void setAverageToFace(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.average_to_face</code>. Способ
     * подачи жалоб очно
     */
    public BigDecimal getAverageToFace() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for <code>main_dashboard.appeals.average_EPGU</code>. Способ
     * подачи ЕПГУ
     */
    public void setAverageEpgu(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.average_EPGU</code>. Способ
     * подачи ЕПГУ
     */
    public BigDecimal getAverageEpgu() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for <code>main_dashboard.appeals.recording_date</code>. Дата
     * записи
     */
    public void setRecordingDate(Date value) {
        set(7, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.recording_date</code>. Дата
     * записи
     */
    public Date getRecordingDate() {
        return (Date) get(7);
    }

    /**
     * Setter for <code>main_dashboard.appeals.average_to_face_percent</code>.
     * Способ подачи жалоб очно в процентах
     */
    public void setAverageToFacePercent(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.average_to_face_percent</code>.
     * Способ подачи жалоб очно в процентах
     */
    public BigDecimal getAverageToFacePercent() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for <code>main_dashboard.appeals.average_EPGU_percent</code>.
     * Способ подачи ЕПГУ в процентах
     */
    public void setAverageEpguPercent(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.average_EPGU_percent</code>.
     * Способ подачи ЕПГУ в процентах
     */
    public BigDecimal getAverageEpguPercent() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for <code>main_dashboard.appeals.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(10, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(10);
    }

    /**
     * Setter for <code>main_dashboard.appeals.testrecruitment_id</code>.
     */
    public void setTestrecruitmentId(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>main_dashboard.appeals.testrecruitment_id</code>.
     */
    public String getTestrecruitmentId() {
        return (String) get(11);
    }

    // -------------------------------------------------------------------------
    // Primary key information
    // -------------------------------------------------------------------------

    @Override
    public Record1<Long> key() {
        return (Record1) super.key();
    }

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

    /**
     * Create a detached AppealsRecord
     */
    public AppealsRecord() {
        super(Appeals.APPEALS);
    }

    /**
     * Create a detached, initialised AppealsRecord
     */
    public AppealsRecord(Long idAppeal, BigDecimal totalAppeals, BigDecimal resolved, BigDecimal averageConsideration, BigDecimal averageRating, BigDecimal averageToFace, BigDecimal averageEpgu, Date recordingDate, BigDecimal averageToFacePercent, BigDecimal averageEpguPercent, UUID recruitmentId, String testrecruitmentId) {
        super(Appeals.APPEALS);

        setIdAppeal(idAppeal);
        setTotalAppeals(totalAppeals);
        setResolved(resolved);
        setAverageConsideration(averageConsideration);
        setAverageRating(averageRating);
        setAverageToFace(averageToFace);
        setAverageEpgu(averageEpgu);
        setRecordingDate(recordingDate);
        setAverageToFacePercent(averageToFacePercent);
        setAverageEpguPercent(averageEpguPercent);
        setRecruitmentId(recruitmentId);
        setTestrecruitmentId(testrecruitmentId);
        resetChangedOnNotNull();
    }
}
