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


import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;

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


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

    private static final long serialVersionUID = 1L;

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

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

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

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

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

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

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

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

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

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

    /**
     * Setter for <code>ervu_dashboard.recruitment.sort</code>.
     */
    public void setSort(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>ervu_dashboard.recruitment.sort</code>.
     */
    public Long getSort() {
        return (Long) get(5);
    }

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

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

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

    /**
     * Create a detached RecruitmentRecord
     */
    public RecruitmentRecord() {
        super(Recruitment.RECRUITMENT);
    }

    /**
     * Create a detached, initialised RecruitmentRecord
     */
    public RecruitmentRecord(String id, String shortname, String idmId, String code, String parentId, Long sort) {
        super(Recruitment.RECRUITMENT);

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