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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>ervu_dashboard.array_mildis.recruitment_dstr_id</code>.
     */
    public void setRecruitmentDstrId(UUID value) {
        set(0, value);
    }

    /**
     * Getter for <code>ervu_dashboard.array_mildis.recruitment_dstr_id</code>.
     */
    public UUID getRecruitmentDstrId() {
        return (UUID) get(0);
    }

    /**
     * Setter for <code>ervu_dashboard.array_mildis.reg_array_id</code>.
     */
    public void setRegArrayId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>ervu_dashboard.array_mildis.reg_array_id</code>.
     */
    public String getRegArrayId() {
        return (String) get(1);
    }

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

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

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

    /**
     * Create a detached ArrayMildisRecord
     */
    public ArrayMildisRecord() {
        super(ArrayMildis.ARRAY_MILDIS);
    }

    /**
     * Create a detached, initialised ArrayMildisRecord
     */
    public ArrayMildisRecord(UUID recruitmentDstrId, String regArrayId) {
        super(ArrayMildis.ARRAY_MILDIS);

        setRecruitmentDstrId(recruitmentDstrId);
        setRegArrayId(regArrayId);
        resetChangedOnNotNull();
    }
}
