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

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 LinkUserAccountUserGroupRecord extends UpdatableRecordImpl<LinkUserAccountUserGroupRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
     */
    public void setLinkUserAccountUserGroupId(String value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
     */
    public String getLinkUserAccountUserGroupId() {
        return (String) get(0);
    }

    /**
     * Setter for
     * <code>security.link_user_account_user_group.user_account_id</code>.
     */
    public void setUserAccountId(String value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>security.link_user_account_user_group.user_account_id</code>.
     */
    public String getUserAccountId() {
        return (String) get(1);
    }

    /**
     * Setter for
     * <code>security.link_user_account_user_group.user_group_id</code>.
     */
    public void setUserGroupId(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>security.link_user_account_user_group.user_group_id</code>.
     */
    public String getUserGroupId() {
        return (String) get(2);
    }

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

    /**
     * Getter for <code>security.link_user_account_user_group.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 LinkUserAccountUserGroupRecord
     */
    public LinkUserAccountUserGroupRecord() {
        super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);
    }

    /**
     * Create a detached, initialised LinkUserAccountUserGroupRecord
     */
    public LinkUserAccountUserGroupRecord(String linkUserAccountUserGroupId, String userAccountId, String userGroupId, Timestamp created) {
        super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);

        setLinkUserAccountUserGroupId(linkUserAccountUserGroupId);
        setUserAccountId(userAccountId);
        setUserGroupId(userGroupId);
        setCreated(created);
        resetChangedOnNotNull();
    }
}
