ores.trading.lifecycle_event
Table of Contents
Reference data table defining valid trade lifecycle event types. Examples: 'New', 'Amendment', 'Novation', 'PartialTermination', 'FullTermination'.
1. Flags
2. Columns
2.1. code
Unique lifecycle event code.
Examples: 'New', 'Amendment', 'Novation'.
std::string(faker::word::noun()) + "_event"
2.2. description
Detailed description of the lifecycle event.
std::string(faker::lorem::sentence())
2.3. fsm_state_id
Optional FSM state identifier associated with this lifecycle event.
std::nullopt
3. SQL
3.1. Flags
4. C++
4.1. Flags
4.2. Repository
4.3. Domain includes
#include <chrono> #include <optional> #include <string> #include <boost/uuid/uuid.hpp>
4.4. Conventions
4.5. Table display
| column | header |
|---|---|
| code | Code |
| description | Description |
| modified_by | Modified By |
| version | Version |
4.6. Presentation
4.6.1. Detail fields
| field | label | widget | type | is_key | is_required | placeholder |
|---|---|---|---|---|---|---|
| code | Code | codeEdit | line_edit | true | true | Enter lifecycle event code |
| description | Description | descriptionEdit | text_edit | Enter a description |
4.6.2. Columns
| enum_name | field | header | type | width |
|---|---|---|---|---|
| Code | code | Code | string | 150 |
| Description | description | Description | string | 300 |
| Version | version | Version | int | 80 |
| ModifiedBy | modified_by | Modified By | string | 120 |
| RecordedAt | recorded_at | Recorded At | timestamp | 150 |
4.7. Custom repository methods
5. See also
- ores.trading — component group overview.