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


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

import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SupportLk;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>summonses_list.support_lk.support_lk_id</code>.
     */
    public void setSupportLkId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>summonses_list.support_lk.support_lk_id</code>.
     */
    public Long getSupportLkId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>summonses_list.support_lk.recruitment_id</code>.
     */
    public void setRecruitmentId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>summonses_list.support_lk.recruitment_id</code>.
     */
    public String getRecruitmentId() {
        return (String) get(1);
    }

    /**
     * Setter for <code>summonses_list.support_lk.summonses_reason_id</code>.
     */
    public void setSummonsesReasonId(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>summonses_list.support_lk.summonses_reason_id</code>.
     */
    public Long getSummonsesReasonId() {
        return (Long) get(2);
    }

    /**
     * Setter for <code>summonses_list.support_lk.system_pgs_status</code>.
     */
    public void setSystemPgsStatus(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>summonses_list.support_lk.system_pgs_status</code>.
     */
    public String getSystemPgsStatus() {
        return (String) get(3);
    }

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

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

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

    /**
     * Create a detached SupportLkRecord
     */
    public SupportLkRecord() {
        super(SupportLk.SUPPORT_LK);
    }

    /**
     * Create a detached, initialised SupportLkRecord
     */
    public SupportLkRecord(Long supportLkId, String recruitmentId, Long summonsesReasonId, String systemPgsStatus) {
        super(SupportLk.SUPPORT_LK);

        setSupportLkId(supportLkId);
        setRecruitmentId(recruitmentId);
        setSummonsesReasonId(summonsesReasonId);
        setSystemPgsStatus(systemPgsStatus);
        resetChangedOnNotNull();
    }
}
