/*
 * This file is generated by jOOQ.
 */
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;


import org.jooq.Record2;
import org.jooq.impl.UpdatableRecordImpl;

import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentSolution;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.recruitment_solution.recruitment_id</code>.
     * Идентификатор организации
     */
    public void setRecruitmentId(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.recruitment_solution.recruitment_id</code>.
     * Идентификатор организации
     */
    public String getRecruitmentId() {
        return (String) get(0);
    }

    /**
     * Setter for <code>public.recruitment_solution.solution_id</code>.
     * Идентификатор группы ролей
     */
    public void setSolutionId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>public.recruitment_solution.solution_id</code>.
     * Идентификатор группы ролей
     */
    public String getSolutionId() {
        return (String) get(1);
    }

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

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

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

    /**
     * Create a detached RecruitmentSolutionRecord
     */
    public RecruitmentSolutionRecord() {
        super(RecruitmentSolution.RECRUITMENT_SOLUTION);
    }

    /**
     * Create a detached, initialised RecruitmentSolutionRecord
     */
    public RecruitmentSolutionRecord(String recruitmentId, String solutionId) {
        super(RecruitmentSolution.RECRUITMENT_SOLUTION);

        setRecruitmentId(recruitmentId);
        setSolutionId(solutionId);
        resetChangedOnNotNull();
    }
}
