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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>registration_change_address.support_summ_sing.support_summ_sing_id</code>.
     */
    public void setSupportSummSingId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.support_summ_sing.support_summ_sing_id</code>.
     */
    public Long getSupportSummSingId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>registration_change_address.support_summ_sing.progress</code>.
     */
    public void setProgress(Boolean value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.support_summ_sing.progress</code>.
     */
    public Boolean getProgress() {
        return (Boolean) get(1);
    }

    /**
     * Setter for
     * <code>registration_change_address.support_summ_sing.change_rec</code>.
     */
    public void setChangeRec(Boolean value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>registration_change_address.support_summ_sing.change_rec</code>.
     */
    public Boolean getChangeRec() {
        return (Boolean) get(2);
    }

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

    /**
     * Getter for
     * <code>registration_change_address.support_summ_sing.code</code>.
     */
    public String getCode() {
        return (String) get(3);
    }

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

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

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

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

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

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

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

    /**
     * Create a detached SupportSummSingRecord
     */
    public SupportSummSingRecord() {
        super(SupportSummSing.SUPPORT_SUMM_SING);
    }

    /**
     * Create a detached, initialised SupportSummSingRecord
     */
    public SupportSummSingRecord(Long supportSummSingId, Boolean progress, Boolean changeRec, String code, String sourceLastUpdate, String recruitmentId) {
        super(SupportSummSing.SUPPORT_SUMM_SING);

        setSupportSummSingId(supportSummSingId);
        setProgress(progress);
        setChangeRec(changeRec);
        setCode(code);
        setSourceLastUpdate(sourceLastUpdate);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
