|
ORE Studio 0.0.4
|
Internal trade activity classification. More...
#include <activity_type.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. | |
| std::string | code |
| Unique activity type code (e.g. 'new_booking', 'novation'). | |
| std::string | category |
| High-level category grouping this activity type. | |
| bool | requires_confirmation = false |
| Whether this activity type requires counterparty confirmation. | |
| std::string | description |
| Detailed description of the activity type. | |
| std::string | fpml_event_type_code |
| Optional FpML event type code for wire-format mapping. | |
| std::optional< boost::uuids::uuid > | fsm_transition_id |
| Optional FSM transition that this activity triggers. | |
| std::string | modified_by |
| Username of the person who last modified this record. | |
| 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. | |
Internal trade activity classification.
Each activity type classifies what happened to a trade (e.g. new_booking, amendment, novation). It optionally maps to an FpML event type code for wire-format messages, and optionally links to an FSM transition that drives the trade's operational status change.
Category values: new_activity, lifecycle_event, misbooking, valuation_change, cancellation.
| std::string category |
High-level category grouping this activity type.
One of: new_activity, lifecycle_event, misbooking, valuation_change, cancellation.
| std::string fpml_event_type_code |
Optional FpML event type code for wire-format mapping.
Soft FK to ores_trading_fpml_event_types_tbl. Empty if no FpML equivalent.
| std::optional<boost::uuids::uuid> fsm_transition_id |
Optional FSM transition that this activity triggers.
Soft FK to ores_dq_fsm_transitions_tbl. Nil UUID if no status change.
| std::string change_reason_code |
Code identifying the reason for the change.
References change_reasons table (soft FK).