ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
account_role Struct Referencefinal

Represents the assignment of a role to an account. More...

#include <account_role.hpp>

Collaboration diagram for account_role:
Collaboration graph

Public Attributes

boost::uuids::uuid account_id
 The account to which the role is assigned.
 
boost::uuids::uuid role_id
 The role being assigned to the account.
 
std::string assigned_by
 Username of the person who assigned this role.
 
std::string assigned_at
 Timestamp when this role assignment was created.
 

Detailed Description

Represents the assignment of a role to an account.

This is a junction entity that links accounts to roles, supporting many-to-many relationships. An account can have multiple roles, and a role can be assigned to multiple accounts.