/*
 * This file is generated by jOOQ.
 */
package ru.micord.ervu_dashboard.db_beans.appeals.tables.records;


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

import org.jooq.Record4;
import org.jooq.impl.UpdatableRecordImpl;

import ru.micord.ervu_dashboard.db_beans.appeals.tables.ReviewProgress;


/**
 * Ход рассмотрения
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReviewProgressRecord extends UpdatableRecordImpl<ReviewProgressRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>appeals.review_progress.id_review_progress</code>.
     */
    public void setIdReviewProgress(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>appeals.review_progress.id_review_progress</code>.
     */
    public Long getIdReviewProgress() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for <code>appeals.review_progress.schema</code>.
     */
    public void setSchema(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>appeals.review_progress.schema</code>.
     */
    public String getSchema() {
        return (String) get(2);
    }

    /**
     * Setter for <code>appeals.review_progress.recording_date</code>.
     */
    public void setRecordingDate(Date value) {
        set(3, value);
    }

    /**
     * Getter for <code>appeals.review_progress.recording_date</code>.
     */
    public Date getRecordingDate() {
        return (Date) get(3);
    }

    /**
     * Setter for <code>appeals.review_progress.in_work</code>. в работе
     */
    public void setInWork(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>appeals.review_progress.in_work</code>. в работе
     */
    public BigDecimal getInWork() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>appeals.review_progress.decided</code>. решено
     */
    public void setDecided(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>appeals.review_progress.decided</code>. решено
     */
    public BigDecimal getDecided() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for <code>appeals.review_progress.revoked</code>. отозвано
     */
    public void setRevoked(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for <code>appeals.review_progress.revoked</code>. отозвано
     */
    public BigDecimal getRevoked() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for <code>appeals.review_progress.in_work_percent</code>.
     */
    public void setInWorkPercent(BigDecimal value) {
        set(7, value);
    }

    /**
     * Getter for <code>appeals.review_progress.in_work_percent</code>.
     */
    public BigDecimal getInWorkPercent() {
        return (BigDecimal) get(7);
    }

    /**
     * Setter for <code>appeals.review_progress.decided_percent</code>.
     */
    public void setDecidedPercent(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for <code>appeals.review_progress.decided_percent</code>.
     */
    public BigDecimal getDecidedPercent() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for <code>appeals.review_progress.revoked_percent</code>.
     */
    public void setRevokedPercent(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for <code>appeals.review_progress.revoked_percent</code>.
     */
    public BigDecimal getRevokedPercent() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for <code>appeals.review_progress.total_appeals</code>.
     */
    public void setTotalAppeals(BigDecimal value) {
        set(10, value);
    }

    /**
     * Getter for <code>appeals.review_progress.total_appeals</code>.
     */
    public BigDecimal getTotalAppeals() {
        return (BigDecimal) get(10);
    }

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

    @Override
    public Record4<Long, UUID, String, Date> key() {
        return (Record4) super.key();
    }

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

    /**
     * Create a detached ReviewProgressRecord
     */
    public ReviewProgressRecord() {
        super(ReviewProgress.REVIEW_PROGRESS);
    }

    /**
     * Create a detached, initialised ReviewProgressRecord
     */
    public ReviewProgressRecord(Long idReviewProgress, UUID recruitmentId, String schema, Date recordingDate, BigDecimal inWork, BigDecimal decided, BigDecimal revoked, BigDecimal inWorkPercent, BigDecimal decidedPercent, BigDecimal revokedPercent, BigDecimal totalAppeals) {
        super(ReviewProgress.REVIEW_PROGRESS);

        setIdReviewProgress(idReviewProgress);
        setRecruitmentId(recruitmentId);
        setSchema(schema);
        setRecordingDate(recordingDate);
        setInWork(inWork);
        setDecided(decided);
        setRevoked(revoked);
        setInWorkPercent(inWorkPercent);
        setDecidedPercent(decidedPercent);
        setRevokedPercent(revokedPercent);
        setTotalAppeals(totalAppeals);
        resetChangedOnNotNull();
    }
}
