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


import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;

import java.sql.Date;
import java.util.UUID;

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


/**
 * Основной профиль уровень РФ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MainProfileRecord extends UpdatableRecordImpl<MainProfileRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>appeals.main_profile.id_main_profile</code>.
     */
    public void setIdMainProfile(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>appeals.main_profile.id_main_profile</code>.
     */
    public Long getIdMainProfile() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>appeals.main_profile.gender</code>. Пол
     */
    public void setGender(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>appeals.main_profile.gender</code>. Пол
     */
    public String getGender() {
        return (String) get(1);
    }

    /**
     * Setter for <code>appeals.main_profile.age</code>. Возраст
     */
    public void setAge(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>appeals.main_profile.age</code>. Возраст
     */
    public String getAge() {
        return (String) get(2);
    }

    /**
     * Setter for <code>appeals.main_profile.child_min_18</code>. Дети до 18 лет
     */
    public void setChildMin_18(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>appeals.main_profile.child_min_18</code>. Дети до 18 лет
     */
    public String getChildMin_18() {
        return (String) get(3);
    }

    /**
     * Setter for <code>appeals.main_profile.education</code>. Образование
     */
    public void setEducation(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>appeals.main_profile.education</code>. Образование
     */
    public String getEducation() {
        return (String) get(4);
    }

    /**
     * Setter for <code>appeals.main_profile.employment</code>. Занятость
     */
    public void setEmployment(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>appeals.main_profile.employment</code>. Занятость
     */
    public String getEmployment() {
        return (String) get(5);
    }

    /**
     * Setter for <code>appeals.main_profile.recording_date</code>. Дата записи
     */
    public void setRecordingDate(Date value) {
        set(6, value);
    }

    /**
     * Getter for <code>appeals.main_profile.recording_date</code>. Дата записи
     */
    public Date getRecordingDate() {
        return (Date) get(6);
    }

    /**
     * Setter for <code>appeals.main_profile.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(7, value);
    }

    /**
     * Getter for <code>appeals.main_profile.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(7);
    }

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

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

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

    /**
     * Create a detached MainProfileRecord
     */
    public MainProfileRecord() {
        super(MainProfile.MAIN_PROFILE);
    }

    /**
     * Create a detached, initialised MainProfileRecord
     */
    public MainProfileRecord(Long idMainProfile, String gender, String age, String childMin_18, String education, String employment, Date recordingDate, UUID recruitmentId) {
        super(MainProfile.MAIN_PROFILE);

        setIdMainProfile(idMainProfile);
        setGender(gender);
        setAge(age);
        setChildMin_18(childMin_18);
        setEducation(education);
        setEmployment(employment);
        setRecordingDate(recordingDate);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
