ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
leg_type Struct Referencefinal

Instrument leg type code (e.g. Fixed, Floating, OIS, CMS, CPI). More...

#include <leg_type.hpp>

Collaboration diagram for leg_type:
Collaboration graph

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 leg type code.
 
std::string description
 Human-readable description of the leg type.
 
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.
 

Detailed Description

Instrument leg type code (e.g. Fixed, Floating, OIS, CMS, CPI).

Reference data table defining valid leg types used in swap and bond instrument leg definitions. Values are sourced from ORE instruments.xsd LegType enumeration.

Member Data Documentation

◆ code

std::string code

Unique leg type code.

Examples: 'Fixed', 'Floating', 'OIS', 'CMS', 'CPI', 'YoY'.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).