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


import java.sql.Timestamp;
import java.util.UUID;

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

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>appeals.appeals_list.number</code>. Номер
     */
    public void setNumber(Integer value) {
        set(0, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.number</code>. Номер
     */
    public Integer getNumber() {
        return (Integer) get(0);
    }

    /**
     * Setter for <code>appeals.appeals_list.source</code>. Источник
     */
    public void setSource(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.source</code>. Источник
     */
    public String getSource() {
        return (String) get(1);
    }

    /**
     * Setter for <code>appeals.appeals_list.region</code>. Верхнеуровневый ЛКО
     */
    public void setRegion(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.region</code>. Верхнеуровневый ЛКО
     */
    public String getRegion() {
        return (String) get(2);
    }

    /**
     * Setter for <code>appeals.appeals_list.category</code>. Категория
     */
    public void setCategory(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.category</code>. Категория
     */
    public String getCategory() {
        return (String) get(3);
    }

    /**
     * Setter for <code>appeals.appeals_list.subcategory</code>. Подкатегория
     */
    public void setSubcategory(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.subcategory</code>. Подкатегория
     */
    public String getSubcategory() {
        return (String) get(4);
    }

    /**
     * Setter for <code>appeals.appeals_list.fact</code>. Факт
     */
    public void setFact(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.fact</code>. Факт
     */
    public String getFact() {
        return (String) get(5);
    }

    /**
     * Setter for <code>appeals.appeals_list.incoming_date</code>. Дата
     * поступления
     */
    public void setIncomingDate(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.incoming_date</code>. Дата
     * поступления
     */
    public String getIncomingDate() {
        return (String) get(6);
    }

    /**
     * Setter for <code>appeals.appeals_list.plan_end_date</code>. Дата
     * планируемого завершения
     */
    public void setPlanEndDate(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.plan_end_date</code>. Дата
     * планируемого завершения
     */
    public String getPlanEndDate() {
        return (String) get(7);
    }

    /**
     * Setter for <code>appeals.appeals_list.fact_end_date</code>. Дата
     * фактического завершения
     */
    public void setFactEndDate(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.fact_end_date</code>. Дата
     * фактического завершения
     */
    public String getFactEndDate() {
        return (String) get(8);
    }

    /**
     * Setter for <code>appeals.appeals_list.stage</code>. Стадия
     */
    public void setStage(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.stage</code>. Стадия
     */
    public String getStage() {
        return (String) get(9);
    }

    /**
     * Setter for <code>appeals.appeals_list.status</code>. Статус
     */
    public void setStatus(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.status</code>. Статус
     */
    public String getStatus() {
        return (String) get(10);
    }

    /**
     * Setter for <code>appeals.appeals_list.overdue</code>. Просрочено
     */
    public void setOverdue(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.overdue</code>. Просрочено
     */
    public String getOverdue() {
        return (String) get(11);
    }

    /**
     * Setter for <code>appeals.appeals_list.fz</code>. ФЗ
     */
    public void setFz(String value) {
        set(12, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.fz</code>. ФЗ
     */
    public String getFz() {
        return (String) get(12);
    }

    /**
     * Setter for <code>appeals.appeals_list.solution_type</code>. Тип решения
     */
    public void setSolutionType(String value) {
        set(13, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.solution_type</code>. Тип решения
     */
    public String getSolutionType() {
        return (String) get(13);
    }

    /**
     * Setter for <code>appeals.appeals_list.response_evalution</code>. Оценка
     * ответа заявителем
     */
    public void setResponseEvalution(String value) {
        set(14, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.response_evalution</code>. Оценка
     * ответа заявителем
     */
    public String getResponseEvalution() {
        return (String) get(14);
    }

    /**
     * Setter for <code>appeals.appeals_list.contractor_org</code>.
     * Организация-исполнитель
     */
    public void setContractorOrg(String value) {
        set(15, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.contractor_org</code>.
     * Организация-исполнитель
     */
    public String getContractorOrg() {
        return (String) get(15);
    }

    /**
     * Setter for <code>appeals.appeals_list.region_id</code>. idm_id
     * региональных ВК (у которых schema = 'Organization')
     */
    public void setRegionId(UUID value) {
        set(16, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.region_id</code>. idm_id
     * региональных ВК (у которых schema = 'Organization')
     */
    public UUID getRegionId() {
        return (UUID) get(16);
    }

    /**
     * Setter for <code>appeals.appeals_list.system_esia_id</code>. ID ЕСИА
     */
    public void setSystemEsiaId(String value) {
        set(17, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.system_esia_id</code>. ID ЕСИА
     */
    public String getSystemEsiaId() {
        return (String) get(17);
    }

    /**
     * Setter for <code>appeals.appeals_list.upload_date</code>. Дата загрузки
     */
    public void setUploadDate(Timestamp value) {
        set(18, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.upload_date</code>. Дата загрузки
     */
    public Timestamp getUploadDate() {
        return (Timestamp) get(18);
    }

    /**
     * Setter for <code>appeals.appeals_list.region_processing</code>. Регион
     * обработки
     */
    public void setRegionProcessing(String value) {
        set(19, value);
    }

    /**
     * Getter for <code>appeals.appeals_list.region_processing</code>. Регион
     * обработки
     */
    public String getRegionProcessing() {
        return (String) get(19);
    }

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

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

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

    /**
     * Create a detached AppealsListRecord
     */
    public AppealsListRecord() {
        super(AppealsList.APPEALS_LIST);
    }

    /**
     * Create a detached, initialised AppealsListRecord
     */
    public AppealsListRecord(Integer number, String source, String region, String category, String subcategory, String fact, String incomingDate, String planEndDate, String factEndDate, String stage, String status, String overdue, String fz, String solutionType, String responseEvalution, String contractorOrg, UUID regionId, String systemEsiaId, Timestamp uploadDate, String regionProcessing) {
        super(AppealsList.APPEALS_LIST);

        setNumber(number);
        setSource(source);
        setRegion(region);
        setCategory(category);
        setSubcategory(subcategory);
        setFact(fact);
        setIncomingDate(incomingDate);
        setPlanEndDate(planEndDate);
        setFactEndDate(factEndDate);
        setStage(stage);
        setStatus(status);
        setOverdue(overdue);
        setFz(fz);
        setSolutionType(solutionType);
        setResponseEvalution(responseEvalution);
        setContractorOrg(contractorOrg);
        setRegionId(regionId);
        setSystemEsiaId(systemEsiaId);
        setUploadDate(uploadDate);
        setRegionProcessing(regionProcessing);
        resetChangedOnNotNull();
    }
}
