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

Represents a scripted instrument in the database. More...

#include <scripted_instrument_entity.hpp>

Collaboration diagram for scripted_instrument_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > id
 
std::string tenant_id
 
int version = 0
 
std::string trade_type_code
 
std::string script_name
 
std::optional< std::string > script_body
 
std::optional< std::string > events_json
 
std::optional< std::string > underlyings_json
 
std::optional< std::string > parameters_json
 
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"
 

Static Public Attributes

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

Detailed Description

Represents a scripted instrument in the database.