|
ORE Studio 0.0.4
|
Represents a role-permission assignment in the database. More...
#include <role_permission_entity.hpp>

Static Public Attributes | |
| static constexpr const char * | schema = "oresdb" |
| static constexpr const char * | tablename = "role_permissions" |
Represents a role-permission assignment in the database.
This is a junction table linking roles to permissions in a many-to-many relationship. A role can have multiple permissions, and a permission can be assigned to multiple roles.
Note: The actual primary key is a composite key (role_id, permission_id, valid_from) defined at the database schema level. sqlgen does not support composite primary keys, so this entity omits the PrimaryKey wrapper.