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


import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Appeals;

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

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


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

    private static final long serialVersionUID = 1L;

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

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

    /**
     * Setter for <code>recruitment_campaign.appeals.total_appeal</code>.
     * Получено жалоб
     */
    public void setTotalAppeal(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for <code>recruitment_campaign.appeals.total_appeal</code>.
     * Получено жалоб
     */
    public BigDecimal getTotalAppeal() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for <code>recruitment_campaign.appeals.resolved</code>. Решено
     */
    public void setResolved(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for <code>recruitment_campaign.appeals.resolved</code>. Решено
     */
    public BigDecimal getResolved() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for <code>recruitment_campaign.appeals.not_resolved</code>. Не
     * решено
     */
    public void setNotResolved(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for <code>recruitment_campaign.appeals.not_resolved</code>. Не
     * решено
     */
    public BigDecimal getNotResolved() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.appeals.average_consideration</code>. Время
     * решения
     */
    public void setAverageConsideration(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.appeals.average_consideration</code>. Время
     * решения
     */
    public BigDecimal getAverageConsideration() {
        return (BigDecimal) get(4);
    }

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

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

    /**
     * Setter for <code>recruitment_campaign.appeals.spring_autumn</code>.
     * Весна/Осень
     */
    public void setSpringAutumn(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>recruitment_campaign.appeals.spring_autumn</code>.
     * Весна/Осень
     */
    public String getSpringAutumn() {
        return (String) get(6);
    }

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

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

    /**
     * Setter for <code>recruitment_campaign.appeals.resolved_percent</code>.
     * Процент решенных
     */
    public void setResolvedPercent(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for <code>recruitment_campaign.appeals.resolved_percent</code>.
     * Процент решенных
     */
    public BigDecimal getResolvedPercent() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for
     * <code>recruitment_campaign.appeals.not_resolved_percent</code>. Процент
     * не решенных
     */
    public void setNotResolvedPercent(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>recruitment_campaign.appeals.not_resolved_percent</code>. Процент
     * не решенных
     */
    public BigDecimal getNotResolvedPercent() {
        return (BigDecimal) get(9);
    }

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

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

    // -------------------------------------------------------------------------
    // 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 totalAppeal, BigDecimal resolved, BigDecimal notResolved, BigDecimal averageConsideration, BigDecimal averageRating, String springAutumn, Date recordingDate, BigDecimal resolvedPercent, BigDecimal notResolvedPercent, UUID recruitmentId) {
        super(Appeals.APPEALS);

        setIdAppeal(idAppeal);
        setTotalAppeal(totalAppeal);
        setResolved(resolved);
        setNotResolved(notResolved);
        setAverageConsideration(averageConsideration);
        setAverageRating(averageRating);
        setSpringAutumn(springAutumn);
        setRecordingDate(recordingDate);
        setResolvedPercent(resolvedPercent);
        setNotResolvedPercent(notResolvedPercent);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
