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

Links an IAM account to a party. More...

#include <account_party.hpp>

Collaboration diagram for account_party:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string tenant_id
 Tenant identifier for multi-tenancy isolation.
 
boost::uuids::uuid account_id
 ID of the IAM account.
 
boost::uuids::uuid party_id
 ID of the party this account is associated with.
 
std::string modified_by
 Username of the person who last modified this account party.
 
std::string performed_by
 Username of the account that performed this action.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

Links an IAM account to a party.

Junction table linking IAM accounts to parties. Each account can be associated with one or more parties, controlling which parties a user can act on behalf of.

Member Data Documentation

◆ account_id

boost::uuids::uuid account_id

ID of the IAM account.

References ores_iam_accounts_tbl.id (soft FK).

◆ party_id

boost::uuids::uuid party_id

ID of the party this account is associated with.

References ores_refdata_parties_tbl.id (soft FK).

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).