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


import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Testrecruitment;

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>space.testrecruitment.id</code>.
     */
    public void setId(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>space.testrecruitment.id</code>.
     */
    public String getId() {
        return (String) get(0);
    }

    /**
     * Setter for <code>space.testrecruitment.shortname</code>.
     */
    public void setShortname(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>space.testrecruitment.shortname</code>.
     */
    public String getShortname() {
        return (String) get(1);
    }

    /**
     * Setter for <code>space.testrecruitment.idm_id</code>.
     */
    public void setIdmId(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>space.testrecruitment.idm_id</code>.
     */
    public String getIdmId() {
        return (String) get(2);
    }

    /**
     * Setter for <code>space.testrecruitment.code</code>.
     */
    public void setCode(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>space.testrecruitment.code</code>.
     */
    public String getCode() {
        return (String) get(3);
    }

    /**
     * Setter for <code>space.testrecruitment.parent_id</code>.
     */
    public void setParentId(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>space.testrecruitment.parent_id</code>.
     */
    public String getParentId() {
        return (String) get(4);
    }

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

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

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

    /**
     * Create a detached TestrecruitmentRecord
     */
    public TestrecruitmentRecord() {
        super(Testrecruitment.TESTRECRUITMENT);
    }

    /**
     * Create a detached, initialised TestrecruitmentRecord
     */
    public TestrecruitmentRecord(String id, String shortname, String idmId, String code, String parentId) {
        super(Testrecruitment.TESTRECRUITMENT);

        setId(id);
        setShortname(shortname);
        setIdmId(idmId);
        setCode(code);
        setParentId(parentId);
        resetChangedOnNotNull();
    }
}
