/*
 * This file is generated by jOOQ.
 */
package ru.micord.ervu_dashboard.db_beans.ervu_dashboard.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.ervu_dashboard.tables.TemporaryMeasures;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
     */
    public void setTemporaryMeasuresId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
     */
    public Long getTemporaryMeasuresId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>ervu_dashboard.temporary_measures.subpoena_id</code>.
     */
    public void setSubpoenaId(UUID value) {
        set(1, value);
    }

    /**
     * Getter for <code>ervu_dashboard.temporary_measures.subpoena_id</code>.
     */
    public UUID getSubpoenaId() {
        return (UUID) get(1);
    }

    /**
     * Setter for <code>ervu_dashboard.temporary_measures.recruit_id</code>.
     */
    public void setRecruitId(UUID value) {
        set(2, value);
    }

    /**
     * Getter for <code>ervu_dashboard.temporary_measures.recruit_id</code>.
     */
    public UUID getRecruitId() {
        return (UUID) get(2);
    }

    /**
     * Setter for <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(3, value);
    }

    /**
     * Getter for <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(3);
    }

    /**
     * Setter for <code>ervu_dashboard.temporary_measures.status_measure</code>.
     * статус временной меры
     */
    public void setStatusMeasure(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>ervu_dashboard.temporary_measures.status_measure</code>.
     * статус временной меры
     */
    public String getStatusMeasure() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.recruitment_name</code>.
     * наименование ВК
     */
    public void setRecruitmentName(String value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.recruitment_name</code>.
     * наименование ВК
     */
    public String getRecruitmentName() {
        return (String) get(5);
    }

    /**
     * Setter for <code>ervu_dashboard.temporary_measures.cancel_date</code>.
     * дата, с которой отменена временная мера
     */
    public void setCancelDate(Timestamp value) {
        set(6, value);
    }

    /**
     * Getter for <code>ervu_dashboard.temporary_measures.cancel_date</code>.
     * дата, с которой отменена временная мера
     */
    public Timestamp getCancelDate() {
        return (Timestamp) get(6);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.restriction_name</code>.
     * наименование временной меры
     */
    public void setRestrictionName(String value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.restriction_name</code>.
     * наименование временной меры
     */
    public String getRestrictionName() {
        return (String) get(7);
    }

    /**
     * Setter for <code>ervu_dashboard.temporary_measures.type</code>. тип
     * документа ограничения
     */
    public void setType(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>ervu_dashboard.temporary_measures.type</code>. тип
     * документа ограничения
     */
    public String getType() {
        return (String) get(8);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.decision_number_create</code>.
     * номер решения о применении временной меры
     */
    public void setDecisionNumberCreate(String value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.decision_number_create</code>.
     * номер решения о применении временной меры
     */
    public String getDecisionNumberCreate() {
        return (String) get(9);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.decision_number_cancel</code>.
     * номер решения об отмене временной меры
     */
    public void setDecisionNumberCancel(String value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.decision_number_cancel</code>.
     * номер решения об отмене временной меры
     */
    public String getDecisionNumberCancel() {
        return (String) get(10);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.decision_date_create</code>. дата
     * решения о применении временной меры
     */
    public void setDecisionDateCreate(Timestamp value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.decision_date_create</code>. дата
     * решения о применении временной меры
     */
    public Timestamp getDecisionDateCreate() {
        return (Timestamp) get(11);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.decision_date_cancel</code>. дата
     * решения об отмене временной меры
     */
    public void setDecisionDateCancel(Timestamp value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.decision_date_cancel</code>. дата
     * решения об отмене временной меры
     */
    public Timestamp getDecisionDateCancel() {
        return (Timestamp) get(12);
    }

    /**
     * Setter for <code>ervu_dashboard.temporary_measures.applied_fact</code>.
     * факт применения временной меры
     */
    public void setAppliedFact(String value) {
        set(13, value);
    }

    /**
     * Getter for <code>ervu_dashboard.temporary_measures.applied_fact</code>.
     * факт применения временной меры
     */
    public String getAppliedFact() {
        return (String) get(13);
    }

    /**
     * Setter for
     * <code>ervu_dashboard.temporary_measures.date_application</code>. Дата
     * применения временной меры
     */
    public void setDateApplication(Timestamp value) {
        set(14, value);
    }

    /**
     * Getter for
     * <code>ervu_dashboard.temporary_measures.date_application</code>. Дата
     * применения временной меры
     */
    public Timestamp getDateApplication() {
        return (Timestamp) get(14);
    }

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

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

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

    /**
     * Create a detached TemporaryMeasuresRecord
     */
    public TemporaryMeasuresRecord() {
        super(TemporaryMeasures.TEMPORARY_MEASURES);
    }

    /**
     * Create a detached, initialised TemporaryMeasuresRecord
     */
    public TemporaryMeasuresRecord(Long temporaryMeasuresId, UUID subpoenaId, UUID recruitId, UUID recruitmentId, String statusMeasure, String recruitmentName, Timestamp cancelDate, String restrictionName, String type, String decisionNumberCreate, String decisionNumberCancel, Timestamp decisionDateCreate, Timestamp decisionDateCancel, String appliedFact, Timestamp dateApplication) {
        super(TemporaryMeasures.TEMPORARY_MEASURES);

        setTemporaryMeasuresId(temporaryMeasuresId);
        setSubpoenaId(subpoenaId);
        setRecruitId(recruitId);
        setRecruitmentId(recruitmentId);
        setStatusMeasure(statusMeasure);
        setRecruitmentName(recruitmentName);
        setCancelDate(cancelDate);
        setRestrictionName(restrictionName);
        setType(type);
        setDecisionNumberCreate(decisionNumberCreate);
        setDecisionNumberCancel(decisionNumberCancel);
        setDecisionDateCreate(decisionDateCreate);
        setDecisionDateCancel(decisionDateCancel);
        setAppliedFact(appliedFact);
        setDateApplication(dateApplication);
        resetChangedOnNotNull();
    }
}
