20#ifndef ORES_TRADING_DOMAIN_FPML_EVENT_TYPE_HPP
21#define ORES_TRADING_DOMAIN_FPML_EVENT_TYPE_HPP
25#include "ores.utility/uuid/tenant_id.hpp"
27namespace ores::trading::domain {
Standard FpML lc_EventType_Type coding scheme.
Definition fpml_event_type.hpp:36
std::string modified_by
Username of the person who last modified this record.
Definition fpml_event_type.hpp:60
std::string change_commentary
Free-text commentary explaining the change.
Definition fpml_event_type.hpp:77
std::string description
Detailed description of the FpML event type.
Definition fpml_event_type.hpp:55
std::string code
FpML event type code (e.g. 'New', 'Amendment', 'Novation').
Definition fpml_event_type.hpp:50
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition fpml_event_type.hpp:82
int version
Version number for optimistic locking and change tracking.
Definition fpml_event_type.hpp:40
std::string performed_by
Username of the account that performed this action.
Definition fpml_event_type.hpp:65
utility::uuid::tenant_id tenant_id
Tenant identifier for multi-tenancy isolation.
Definition fpml_event_type.hpp:45
std::string change_reason_code
Code identifying the reason for the change.
Definition fpml_event_type.hpp:72
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