/*
 * This file is generated by jOOQ.
 */
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;


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

import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUpdateIpAddress;


/**
 * Таблица связи заявок и ip адрессов пользователя на изменение
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LinkUserApplicationUpdateIpAddressRecord extends UpdatableRecordImpl<LinkUserApplicationUpdateIpAddressRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>public.link_user_application_update_ip_address.link_user_application_update_ip_address_id</code>.
     */
    public void setLinkUserApplicationUpdateIpAddressId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>public.link_user_application_update_ip_address.link_user_application_update_ip_address_id</code>.
     */
    public Long getLinkUserApplicationUpdateIpAddressId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>public.link_user_application_update_ip_address.user_application_list_id</code>.
     * Идентификатор списка заявок пользователя
     */
    public void setUserApplicationListId(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>public.link_user_application_update_ip_address.user_application_list_id</code>.
     * Идентификатор списка заявок пользователя
     */
    public Long getUserApplicationListId() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>public.link_user_application_update_ip_address.ip_address_update</code>.
     * ip адресс на изменение
     */
    public void setIpAddressUpdate(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>public.link_user_application_update_ip_address.ip_address_update</code>.
     * ip адресс на изменение
     */
    public String getIpAddressUpdate() {
        return (String) get(2);
    }

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

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

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

    /**
     * Create a detached LinkUserApplicationUpdateIpAddressRecord
     */
    public LinkUserApplicationUpdateIpAddressRecord() {
        super(LinkUserApplicationUpdateIpAddress.LINK_USER_APPLICATION_UPDATE_IP_ADDRESS);
    }

    /**
     * Create a detached, initialised LinkUserApplicationUpdateIpAddressRecord
     */
    public LinkUserApplicationUpdateIpAddressRecord(Long linkUserApplicationUpdateIpAddressId, Long userApplicationListId, String ipAddressUpdate) {
        super(LinkUserApplicationUpdateIpAddress.LINK_USER_APPLICATION_UPDATE_IP_ADDRESS);

        setLinkUserApplicationUpdateIpAddressId(linkUserApplicationUpdateIpAddressId);
        setUserApplicationListId(userApplicationListId);
        setIpAddressUpdate(ipAddressUpdate);
        resetChangedOnNotNull();
    }
}
