|
ORE Studio 0.0.4
|
External identifier (UTI, USI, internal) assigned to a trade. More...
#include <trade_identifier.hpp>

Public Attributes | |
| int | version = 0 |
| Version number for optimistic locking and change tracking. | |
| utility::uuid::tenant_id | tenant_id = utility::uuid::tenant_id::system() |
| Tenant identifier for multi-tenancy isolation. | |
| boost::uuids::uuid | id |
| UUID uniquely identifying this trade identifier record. | |
| boost::uuids::uuid | trade_id |
| Trade this identifier belongs to. | |
| std::optional< boost::uuids::uuid > | issuing_party_id |
| Party or counterparty that issued this identifier. | |
| std::string | id_value |
| The identifier value. | |
| std::string | id_type |
| Type of identifier (e.g. UTI, USI, Internal). | |
| std::string | id_scheme |
| Optional scheme qualifier for the identifier. | |
| std::string | modified_by |
| Username of the person who last modified this trade identifier. | |
| 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. | |
External identifier (UTI, USI, internal) assigned to a trade.
Junction entity assigning external identifiers to trades. Each trade can have multiple identifiers of different types. The issuing_party_id references either a party or counterparty.
| boost::uuids::uuid id |
UUID uniquely identifying this trade identifier record.
Surrogate key for the trade identifier record.
| boost::uuids::uuid trade_id |
Trade this identifier belongs to.
Soft FK to ores_trading_trades_tbl.
| std::optional<boost::uuids::uuid> issuing_party_id |
Party or counterparty that issued this identifier.
Soft FK to parties or counterparties. Absent if issuer unknown.
| std::string id_value |
The identifier value.
e.g., UTI value, internal trade reference.
| std::string id_type |
Type of identifier (e.g. UTI, USI, Internal).
Soft FK to ores_trading_trade_id_types_tbl.
| std::string id_scheme |
Optional scheme qualifier for the identifier.
e.g., the LEI namespace for UTI schemes.
| std::string change_reason_code |
Code identifying the reason for the change.
References change_reasons table (soft FK).