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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.recruitment_ip.ip_address</code>. IP-адрес
     */
    public void setIpAddress(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.recruitment_ip.ip_address</code>. IP-адрес
     */
    public String getIpAddress() {
        return (String) get(0);
    }

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

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

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

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

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

    /**
     * Create a detached RecruitmentIpRecord
     */
    public RecruitmentIpRecord() {
        super(RecruitmentIp.RECRUITMENT_IP);
    }

    /**
     * Create a detached, initialised RecruitmentIpRecord
     */
    public RecruitmentIpRecord(String ipAddress, String recruitmentId) {
        super(RecruitmentIp.RECRUITMENT_IP);

        setIpAddress(ipAddress);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
