ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
instrument_entity Struct Reference

Represents an instrument in the database. More...

#include <instrument_entity.hpp>

Collaboration diagram for instrument_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > id
 
std::string tenant_id
 
int version = 0
 
std::string trade_type_code
 
double notional = 0.0
 
std::string currency
 
std::string start_date
 
std::string maturity_date
 
std::optional< std::string > description
 
std::string modified_by
 
std::string performed_by
 
std::string change_reason_code
 
std::string change_commentary
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_from = "9999-12-31 23:59:59"
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_to = "9999-12-31 23:59:59"
 
std::optional< std::string > fra_fixing_date
 
std::optional< std::string > fra_settlement_date
 
std::optional< int > lockout_days
 
std::optional< std::string > callable_dates_json
 
std::optional< std::string > rpa_counterparty
 
std::optional< std::string > inflation_index_code
 
std::optional< double > base_cpi
 

Static Public Attributes

static constexpr const char * schema = "public"
 
static constexpr const char * tablename = "ores_trading_instruments_tbl"
 

Detailed Description

Represents an instrument in the database.