35 constexpr static const char* schema =
"public";
36 constexpr static const char* tablename =
"ores_trading_swap_legs_tbl";
38 sqlgen::PrimaryKey<std::string> id;
39 std::string tenant_id;
41 std::string instrument_id;
43 std::string leg_type_code;
44 std::string day_count_fraction_code;
45 std::string business_day_convention_code;
46 std::string payment_frequency_code;
47 std::optional<std::string> floating_index_code;
48 std::optional<double> fixed_rate;
49 std::optional<double> spread;
50 double notional = 0.0;
52 std::string modified_by;
53 std::string performed_by;
54 std::string change_reason_code;
55 std::string change_commentary;
56 std::optional<sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S">> valid_from =
"9999-12-31 23:59:59";
57 std::optional<sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S">> valid_to =
"9999-12-31 23:59:59";