|
ORE Studio 0.0.4
|
Counterparty role assignment on a trade. More...
#include <trade_party_role.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 party role assignment. | |
| boost::uuids::uuid | trade_id |
| Trade this role assignment belongs to. | |
| boost::uuids::uuid | counterparty_id |
| Counterparty fulfilling the role. | |
| std::string | role |
| Role the counterparty plays on this trade. | |
| std::string | modified_by |
| Username of the person who last modified this trade party role. | |
| 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. | |
Counterparty role assignment on a trade.
Associates a counterparty with a specific role on a trade. The internal party (the house) is derived from book_id via books.party_id. Supports multiple counterparties per trade in different roles.
| boost::uuids::uuid id |
UUID uniquely identifying this party role assignment.
Surrogate key for the trade party role record.
| boost::uuids::uuid trade_id |
Trade this role assignment belongs to.
Soft FK to ores_trading_trades_tbl.
| boost::uuids::uuid counterparty_id |
Counterparty fulfilling the role.
Soft FK to ores_refdata_counterparties_tbl.
| std::string role |
Role the counterparty plays on this trade.
Soft FK to ores_trading_party_role_types_tbl.
| std::string change_reason_code |
Code identifying the reason for the change.
References change_reasons table (soft FK).