/*
 * 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.CitizenLiabilityFz53;


/**
 * Административная ответственность  в связи с нарушением ФЗ-53
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenLiabilityFz53Record extends UpdatableRecordImpl<CitizenLiabilityFz53Record> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.citizen_liability_fz53_id</code>.
     */
    public void setCitizenLiabilityFz53Id(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.citizen_liability_fz53_id</code>.
     */
    public Long getCitizenLiabilityFz53Id() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.fact_bringing</code>. Факт
     * привлечения к административной ответственности
     */
    public void setFactBringing(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.fact_bringing</code>. Факт
     * привлечения к административной ответственности
     */
    public String getFactBringing() {
        return (String) get(2);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.case_number_before</code>.
     * Номер дела об административном правонарушении (досудебный)
     */
    public void setCaseNumberBefore(String value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.case_number_before</code>.
     * Номер дела об административном правонарушении (досудебный)
     */
    public String getCaseNumberBefore() {
        return (String) get(3);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.date_initiation</code>. Дата
     * возбуждения дела об административном правонарушении
     */
    public void setDateInitiation(Date value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.date_initiation</code>. Дата
     * возбуждения дела об административном правонарушении
     */
    public Date getDateInitiation() {
        return (Date) get(4);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.body_initiated</code>. Орган,
     * возбудивший дело об административном правонарушении
     */
    public void setBodyInitiated(String value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.body_initiated</code>. Орган,
     * возбудивший дело об административном правонарушении
     */
    public String getBodyInitiated() {
        return (String) get(5);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.case_number</code>. Номер
     * дела об административном правонарушении
     */
    public void setCaseNumber(String value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.case_number</code>. Номер
     * дела об административном правонарушении
     */
    public String getCaseNumber() {
        return (String) get(6);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.date_resolution</code>. Дата
     * постановления
     */
    public void setDateResolution(Date value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.date_resolution</code>. Дата
     * постановления
     */
    public Date getDateResolution() {
        return (Date) get(7);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.article_koap_rf</code>.
     * Пункт, часть, статья КоАП РФ
     */
    public void setArticleKoapRf(String value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.article_koap_rf</code>.
     * Пункт, часть, статья КоАП РФ
     */
    public String getArticleKoapRf() {
        return (String) get(8);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.court_decision</code>. Суд,
     * вынесший постановление
     */
    public void setCourtDecision(String value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.court_decision</code>. Суд,
     * вынесший постановление
     */
    public String getCourtDecision() {
        return (String) get(9);
    }

    /**
     * Setter for <code>ervu_dashboard.citizen_liability_fz53.name_vc</code>.
     * Военкомат, принявший решение о применении мер
     */
    public void setNameVc(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>ervu_dashboard.citizen_liability_fz53.name_vc</code>.
     * Военкомат, принявший решение о применении мер
     */
    public String getNameVc() {
        return (String) get(10);
    }

    /**
     * Setter for <code>ervu_dashboard.citizen_liability_fz53.reason_use</code>.
     * Причина применения
     */
    public void setReasonUse(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>ervu_dashboard.citizen_liability_fz53.reason_use</code>.
     * Причина применения
     */
    public String getReasonUse() {
        return (String) get(11);
    }

    /**
     * Setter for <code>ervu_dashboard.citizen_liability_fz53.start_date</code>.
     * Дата, с которой наложена мера
     */
    public void setStartDate(Date value) {
        set(12, value);
    }

    /**
     * Getter for <code>ervu_dashboard.citizen_liability_fz53.start_date</code>.
     * Дата, с которой наложена мера
     */
    public Date getStartDate() {
        return (Date) get(12);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.type_punishment</code>. Вид
     * наказания
     */
    public void setTypePunishment(String value) {
        set(13, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.type_punishment</code>. Вид
     * наказания
     */
    public String getTypePunishment() {
        return (String) get(13);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_liability_fz53.size_term_punishment</code>.
     * Размер и срок наказания
     */
    public void setSizeTermPunishment(String value) {
        set(14, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_liability_fz53.size_term_punishment</code>.
     * Размер и срок наказания
     */
    public String getSizeTermPunishment() {
        return (String) get(14);
    }

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

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

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

    /**
     * Create a detached CitizenLiabilityFz53Record
     */
    public CitizenLiabilityFz53Record() {
        super(CitizenLiabilityFz53.CITIZEN_LIABILITY_FZ53);
    }

    /**
     * Create a detached, initialised CitizenLiabilityFz53Record
     */
    public CitizenLiabilityFz53Record(Long citizenLiabilityFz53Id, UUID recruitId, String factBringing, String caseNumberBefore, Date dateInitiation, String bodyInitiated, String caseNumber, Date dateResolution, String articleKoapRf, String courtDecision, String nameVc, String reasonUse, Date startDate, String typePunishment, String sizeTermPunishment) {
        super(CitizenLiabilityFz53.CITIZEN_LIABILITY_FZ53);

        setCitizenLiabilityFz53Id(citizenLiabilityFz53Id);
        setRecruitId(recruitId);
        setFactBringing(factBringing);
        setCaseNumberBefore(caseNumberBefore);
        setDateInitiation(dateInitiation);
        setBodyInitiated(bodyInitiated);
        setCaseNumber(caseNumber);
        setDateResolution(dateResolution);
        setArticleKoapRf(articleKoapRf);
        setCourtDecision(courtDecision);
        setNameVc(nameVc);
        setReasonUse(reasonUse);
        setStartDate(startDate);
        setTypePunishment(typePunishment);
        setSizeTermPunishment(sizeTermPunishment);
        resetChangedOnNotNull();
    }
}
