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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.citizen_criminal_liability_fz53_id</code>.
     */
    public void setCitizenCriminalLiabilityFz53Id(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.citizen_criminal_liability_fz53_id</code>.
     */
    public Long getCitizenCriminalLiabilityFz53Id() {
        return (Long) get(0);
    }

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

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

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.fact_criminal_prosecution</code>.
     * Сведения о факте уголовного преследования
     */
    public void setFactCriminalProsecution(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.fact_criminal_prosecution</code>.
     * Сведения о факте уголовного преследования
     */
    public String getFactCriminalProsecution() {
        return (String) get(2);
    }

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

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

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

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

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

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

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

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.case_number</code>.
     * Номер уголовного дела (судебный)
     */
    public String getCaseNumber() {
        return (String) get(6);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.sentence_date</code>.
     * Дата приговора
     */
    public void setSentenceDate(Date value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.sentence_date</code>.
     * Дата приговора
     */
    public Date getSentenceDate() {
        return (Date) get(7);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.court_decision</code>.
     * Суд, вынесший приговор
     */
    public void setCourtDecision(String value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.citizen_criminal_liability_fz53.court_decision</code>.
     * Суд, вынесший приговор
     */
    public String getCourtDecision() {
        return (String) get(8);
    }

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

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

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

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

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

    /**
     * Create a detached CitizenCriminalLiabilityFz53Record
     */
    public CitizenCriminalLiabilityFz53Record() {
        super(CitizenCriminalLiabilityFz53.CITIZEN_CRIMINAL_LIABILITY_FZ53);
    }

    /**
     * Create a detached, initialised CitizenCriminalLiabilityFz53Record
     */
    public CitizenCriminalLiabilityFz53Record(Long citizenCriminalLiabilityFz53Id, UUID recruitId, String factCriminalProsecution, String caseNumberBefore, Date dateInitiation, String bodyInitiated, String caseNumber, Date sentenceDate, String courtDecision, String typePunishment) {
        super(CitizenCriminalLiabilityFz53.CITIZEN_CRIMINAL_LIABILITY_FZ53);

        setCitizenCriminalLiabilityFz53Id(citizenCriminalLiabilityFz53Id);
        setRecruitId(recruitId);
        setFactCriminalProsecution(factCriminalProsecution);
        setCaseNumberBefore(caseNumberBefore);
        setDateInitiation(dateInitiation);
        setBodyInitiated(bodyInitiated);
        setCaseNumber(caseNumber);
        setSentenceDate(sentenceDate);
        setCourtDecision(courtDecision);
        setTypePunishment(typePunishment);
        resetChangedOnNotNull();
    }
}
