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


import java.util.UUID;

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

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>ervu_dashboard.decision.decision_id</code>.
     */
    public void setDecisionId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>ervu_dashboard.decision.decision_id</code>.
     */
    public Long getDecisionId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

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

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

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

    /**
     * Create a detached DecisionRecord
     */
    public DecisionRecord() {
        super(Decision.DECISION);
    }

    /**
     * Create a detached, initialised DecisionRecord
     */
    public DecisionRecord(Long decisionId, UUID subpoenaId, UUID recruitId, UUID recruitmentId) {
        super(Decision.DECISION);

        setDecisionId(decisionId);
        setSubpoenaId(subpoenaId);
        setRecruitId(recruitId);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
