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

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


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

    private static final long serialVersionUID = 1L;

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

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

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

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

    /**
     * Setter for <code>ervu_dashboard.pub_recruitment.military_code</code>.
     */
    public void setMilitaryCode(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>ervu_dashboard.pub_recruitment.military_code</code>.
     */
    public String getMilitaryCode() {
        return (String) get(2);
    }

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

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

    /**
     * Setter for <code>ervu_dashboard.pub_recruitment.fullname</code>.
     */
    public void setFullname(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>ervu_dashboard.pub_recruitment.fullname</code>.
     */
    public String getFullname() {
        return (String) get(4);
    }

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

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

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

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

    /**
     * Setter for <code>ervu_dashboard.pub_recruitment.sort</code>.
     */
    public void setSort(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>ervu_dashboard.pub_recruitment.sort</code>.
     */
    public String getSort() {
        return (String) get(7);
    }

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

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

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

    /**
     * Create a detached PubRecruitmentRecord
     */
    public PubRecruitmentRecord() {
        super(PubRecruitment.PUB_RECRUITMENT);
    }

    /**
     * Create a detached, initialised PubRecruitmentRecord
     */
    public PubRecruitmentRecord(String idmId, String parentId, String militaryCode, String shortname, String fullname, String code, String id, String sort) {
        super(PubRecruitment.PUB_RECRUITMENT);

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