20#ifndef ORES_TRADING_DOMAIN_PARTY_ROLE_TYPE_HPP
21#define ORES_TRADING_DOMAIN_PARTY_ROLE_TYPE_HPP
25#include "ores.utility/uuid/tenant_id.hpp"
27namespace ores::trading::domain {
FpML-aligned party role code (e.g. Counterparty, CalculationAgent, ExecutingBroker).
Definition party_role_type.hpp:35
std::string modified_by
Username of the person who last modified this party role type.
Definition party_role_type.hpp:61
std::string change_commentary
Free-text commentary explaining the change.
Definition party_role_type.hpp:78
std::string description
Detailed description of the party role type.
Definition party_role_type.hpp:56
std::string code
Unique party role type code.
Definition party_role_type.hpp:51
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition party_role_type.hpp:83
int version
Version number for optimistic locking and change tracking.
Definition party_role_type.hpp:39
std::string performed_by
Username of the account that performed this action.
Definition party_role_type.hpp:66
utility::uuid::tenant_id tenant_id
Tenant identifier for multi-tenancy isolation.
Definition party_role_type.hpp:44
std::string change_reason_code
Code identifying the reason for the change.
Definition party_role_type.hpp:73
A strongly-typed wrapper around a UUID representing a tenant identifier.
Definition tenant_id.hpp:66
static tenant_id system()
Creates a tenant_id representing the system tenant.
Definition tenant_id.cpp:41