/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;


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

import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportTmpMeas;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.support_tmp_meas.support_tmp_meas_id</code>.
     */
    public void setSupportTmpMeasId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.support_tmp_meas.support_tmp_meas_id</code>.
     */
    public Long getSupportTmpMeasId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>registration_change_address.support_tmp_meas.source_last_update</code>.
     */
    public void setSourceLastUpdate(String value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.support_tmp_meas.source_last_update</code>.
     */
    public String getSourceLastUpdate() {
        return (String) get(1);
    }

    /**
     * Setter for
     * <code>registration_change_address.support_tmp_meas.status_applied</code>.
     */
    public void setStatusApplied(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.support_tmp_meas.status_applied</code>.
     */
    public String getStatusApplied() {
        return (String) get(2);
    }

    /**
     * Setter for
     * <code>registration_change_address.support_tmp_meas.recruitment_id</code>.
     */
    public void setRecruitmentId(String value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.support_tmp_meas.recruitment_id</code>.
     */
    public String getRecruitmentId() {
        return (String) get(3);
    }

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

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

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

    /**
     * Create a detached SupportTmpMeasRecord
     */
    public SupportTmpMeasRecord() {
        super(SupportTmpMeas.SUPPORT_TMP_MEAS);
    }

    /**
     * Create a detached, initialised SupportTmpMeasRecord
     */
    public SupportTmpMeasRecord(Long supportTmpMeasId, String sourceLastUpdate, String statusApplied, String recruitmentId) {
        super(SupportTmpMeas.SUPPORT_TMP_MEAS);

        setSupportTmpMeasId(supportTmpMeasId);
        setSourceLastUpdate(sourceLastUpdate);
        setStatusApplied(statusApplied);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
