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


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

import org.jooq.Record2;
import org.jooq.impl.UpdatableRecordImpl;

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


/**
 * Рассмотрение жалоб уровень РФ
 */
@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.consideration_complaint</code>.
     * Рассмотрение жалоб
     */
    public void setConsiderationComplaint(BigDecimal value) {
        set(1, value);
    }

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

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

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

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

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

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

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

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

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

    /**
     * Setter for <code>ratings.consideration_complaint.region_code</code>. Код
     * региона
     */
    public void setRegionCode(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>ratings.consideration_complaint.region_code</code>. Код
     * региона
     */
    public String getRegionCode() {
        return (String) get(6);
    }

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

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

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

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

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

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