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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>ervu_dashboard.array_reg.recruitment_reg_id</code>.
     */
    public void setRecruitmentRegId(UUID value) {
        set(0, value);
    }

    /**
     * Getter for <code>ervu_dashboard.array_reg.recruitment_reg_id</code>.
     */
    public UUID getRecruitmentRegId() {
        return (UUID) get(0);
    }

    /**
     * Setter for <code>ervu_dashboard.array_reg.vk_array_id</code>.
     */
    public void setVkArrayId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>ervu_dashboard.array_reg.vk_array_id</code>.
     */
    public String getVkArrayId() {
        return (String) get(1);
    }

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

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

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

    /**
     * Create a detached ArrayRegRecord
     */
    public ArrayRegRecord() {
        super(ArrayReg.ARRAY_REG);
    }

    /**
     * Create a detached, initialised ArrayRegRecord
     */
    public ArrayRegRecord(UUID recruitmentRegId, String vkArrayId) {
        super(ArrayReg.ARRAY_REG);

        setRecruitmentRegId(recruitmentRegId);
        setVkArrayId(vkArrayId);
        resetChangedOnNotNull();
    }
}
