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


import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;

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 ConsiderationComplaintRecord extends UpdatableRecordImpl<ConsiderationComplaintRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>ratings.consideration_complaint.id_consideration_complaint</code>.
     */
    public void setIdConsiderationComplaint(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>ratings.consideration_complaint.id_consideration_complaint</code>.
     */
    public Long getIdConsiderationComplaint() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>ratings.consideration_complaint.id_region</code>.
     */
    public void setIdRegion(Integer value) {
        set(1, value);
    }

    /**
     * Getter for <code>ratings.consideration_complaint.id_region</code>.
     */
    public Integer getIdRegion() {
        return (Integer) get(1);
    }

    /**
     * Setter for
     * <code>ratings.consideration_complaint.consideration_complaint</code>.
     * Рассмотрение жалоб
     */
    public void setConsiderationComplaint(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>ratings.consideration_complaint.consideration_complaint</code>.
     * Рассмотрение жалоб
     */
    public BigDecimal getConsiderationComplaint() {
        return (BigDecimal) get(2);
    }

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

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

    /**
     * Setter for
     * <code>ratings.consideration_complaint.consideration_complaint_percent</code>.
     * Рассмотрение жалоб в процентах
     */
    public void setConsiderationComplaintPercent(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>ratings.consideration_complaint.consideration_complaint_percent</code>.
     * Рассмотрение жалоб в процентах
     */
    public BigDecimal getConsiderationComplaintPercent() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>ratings.consideration_complaint.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(5, value);
    }

    /**
     * Getter for <code>ratings.consideration_complaint.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(5);
    }

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

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

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

    /**
     * Create a detached ConsiderationComplaintRecord
     */
    public ConsiderationComplaintRecord() {
        super(ConsiderationComplaint.CONSIDERATION_COMPLAINT);
    }

    /**
     * Create a detached, initialised ConsiderationComplaintRecord
     */
    public ConsiderationComplaintRecord(Long idConsiderationComplaint, Integer idRegion, BigDecimal considerationComplaint, Date recordingDate, BigDecimal considerationComplaintPercent, UUID recruitmentId) {
        super(ConsiderationComplaint.CONSIDERATION_COMPLAINT);

        setIdConsiderationComplaint(idConsiderationComplaint);
        setIdRegion(idRegion);
        setConsiderationComplaint(considerationComplaint);
        setRecordingDate(recordingDate);
        setConsiderationComplaintPercent(considerationComplaintPercent);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
