/*
 * This file is generated by jOOQ.
 */
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;


import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;

import java.sql.Timestamp;

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>security.link_user_role_authority.user_role_authority_id</code>.
     */
    public void setUserRoleAuthorityId(String value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>security.link_user_role_authority.user_role_authority_id</code>.
     */
    public String getUserRoleAuthorityId() {
        return (String) get(0);
    }

    /**
     * Setter for <code>security.link_user_role_authority.user_role_id</code>.
     */
    public void setUserRoleId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>security.link_user_role_authority.user_role_id</code>.
     */
    public String getUserRoleId() {
        return (String) get(1);
    }

    /**
     * Setter for <code>security.link_user_role_authority.authority_id</code>.
     */
    public void setAuthorityId(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>security.link_user_role_authority.authority_id</code>.
     */
    public String getAuthorityId() {
        return (String) get(2);
    }

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

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

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

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

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

    /**
     * Create a detached LinkUserRoleAuthorityRecord
     */
    public LinkUserRoleAuthorityRecord() {
        super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);
    }

    /**
     * Create a detached, initialised LinkUserRoleAuthorityRecord
     */
    public LinkUserRoleAuthorityRecord(String userRoleAuthorityId, String userRoleId, String authorityId, Timestamp created) {
        super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);

        setUserRoleAuthorityId(userRoleAuthorityId);
        setUserRoleId(userRoleId);
        setAuthorityId(authorityId);
        setCreated(created);
        resetChangedOnNotNull();
    }
}
