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


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

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

import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenAppealingViolationsFz53;


/**
 * Обжалование нарушений ФЗ-53
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenAppealingViolationsFz53Record extends UpdatableRecordImpl<CitizenAppealingViolationsFz53Record> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.citizen_appealing_violations_fz53_id</code>.
     */
    public void setCitizenAppealingViolationsFz53Id(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.citizen_appealing_violations_fz53_id</code>.
     */
    public Long getCitizenAppealingViolationsFz53Id() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.recruit_id</code>.
     * ссылка на гражданина (citizen)
     */
    public void setRecruitId(UUID value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.recruit_id</code>.
     * ссылка на гражданина (citizen)
     */
    public UUID getRecruitId() {
        return (UUID) get(1);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.number_appealed</code>.
     * Номер обжалуемого решения
     */
    public void setNumberAppealed(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.number_appealed</code>.
     * Номер обжалуемого решения
     */
    public String getNumberAppealed() {
        return (String) get(2);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.date_appealed</code>.
     * Дата обжалуемого решения
     */
    public void setDateAppealed(Date value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.date_appealed</code>.
     * Дата обжалуемого решения
     */
    public Date getDateAppealed() {
        return (Date) get(3);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.case_number</code>.
     * Номер принятого решения
     */
    public void setCaseNumber(String value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.case_number</code>.
     * Номер принятого решения
     */
    public String getCaseNumber() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.decision_date</code>.
     * Дата принятия решения
     */
    public void setDecisionDate(Date value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.decision_date</code>.
     * Дата принятия решения
     */
    public Date getDecisionDate() {
        return (Date) get(5);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.result_appeal</code>.
     * Результат обжалования
     */
    public void setResultAppeal(String value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.result_appeal</code>.
     * Результат обжалования
     */
    public String getResultAppeal() {
        return (String) get(6);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.name_commission</code>.
     * Наименование комиссии, принявшей решение
     */
    public void setNameCommission(String value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.name_commission</code>.
     * Наименование комиссии, принявшей решение
     */
    public String getNameCommission() {
        return (String) get(7);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.grounds</code>.
     * Основание для внесения записи
     */
    public void setGrounds(String value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_appealing_violations_fz53.grounds</code>.
     * Основание для внесения записи
     */
    public String getGrounds() {
        return (String) get(8);
    }

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

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

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

    /**
     * Create a detached CitizenAppealingViolationsFz53Record
     */
    public CitizenAppealingViolationsFz53Record() {
        super(CitizenAppealingViolationsFz53.CITIZEN_APPEALING_VIOLATIONS_FZ53);
    }

    /**
     * Create a detached, initialised CitizenAppealingViolationsFz53Record
     */
    public CitizenAppealingViolationsFz53Record(Long citizenAppealingViolationsFz53Id, UUID recruitId, String numberAppealed, Date dateAppealed, String caseNumber, Date decisionDate, String resultAppeal, String nameCommission, String grounds) {
        super(CitizenAppealingViolationsFz53.CITIZEN_APPEALING_VIOLATIONS_FZ53);

        setCitizenAppealingViolationsFz53Id(citizenAppealingViolationsFz53Id);
        setRecruitId(recruitId);
        setNumberAppealed(numberAppealed);
        setDateAppealed(dateAppealed);
        setCaseNumber(caseNumber);
        setDecisionDate(decisionDate);
        setResultAppeal(resultAppeal);
        setNameCommission(nameCommission);
        setGrounds(grounds);
        resetChangedOnNotNull();
    }
}
