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


import java.sql.Timestamp;

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

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>public.link_user_application_user_application_update_role.link_user_application_user_update_role_id</code>.
     */
    public void setLinkUserApplicationUserUpdateRoleId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>public.link_user_application_user_application_update_role.link_user_application_user_update_role_id</code>.
     */
    public Long getLinkUserApplicationUserUpdateRoleId() {
        return (Long) get(0);
    }

    /**
     * Setter for
     * <code>public.link_user_application_user_application_update_role.user_application_list_id</code>.
     */
    public void setUserApplicationListId(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>public.link_user_application_user_application_update_role.user_application_list_id</code>.
     */
    public Long getUserApplicationListId() {
        return (Long) get(1);
    }

    /**
     * Setter for
     * <code>public.link_user_application_user_application_update_role.user_update_role_id</code>.
     */
    public void setUserUpdateRoleId(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>public.link_user_application_user_application_update_role.user_update_role_id</code>.
     */
    public String getUserUpdateRoleId() {
        return (String) get(2);
    }

    /**
     * Setter for
     * <code>public.link_user_application_user_application_update_role.created</code>.
     */
    public void setCreated(Timestamp value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>public.link_user_application_user_application_update_role.created</code>.
     */
    public Timestamp getCreated() {
        return (Timestamp) get(3);
    }

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

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

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

    /**
     * Create a detached LinkUserApplicationUserApplicationUpdateRoleRecord
     */
    public LinkUserApplicationUserApplicationUpdateRoleRecord() {
        super(LinkUserApplicationUserApplicationUpdateRole.LINK_USER_APPLICATION_USER_APPLICATION_UPDATE_ROLE);
    }

    /**
     * Create a detached, initialised
     * LinkUserApplicationUserApplicationUpdateRoleRecord
     */
    public LinkUserApplicationUserApplicationUpdateRoleRecord(Long linkUserApplicationUserUpdateRoleId, Long userApplicationListId, String userUpdateRoleId, Timestamp created) {
        super(LinkUserApplicationUserApplicationUpdateRole.LINK_USER_APPLICATION_USER_APPLICATION_UPDATE_ROLE);

        setLinkUserApplicationUserUpdateRoleId(linkUserApplicationUserUpdateRoleId);
        setUserApplicationListId(userApplicationListId);
        setUserUpdateRoleId(userUpdateRoleId);
        setCreated(created);
        resetChangedOnNotNull();
    }
}
