20#ifndef ORES_REFDATA_CORE_REPOSITORY_PARTY_COUNTERPARTY_ENTITY_HPP
21#define ORES_REFDATA_CORE_REPOSITORY_PARTY_COUNTERPARTY_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
25#include "sqlgen/PrimaryKey.hpp"
29struct party_counterparty_entity {
30 constexpr static const char* schema =
"public";
31 constexpr static const char* tablename =
"ores_refdata_party_counterparties_tbl";
33 sqlgen::PrimaryKey<std::string> party_id;
34 std::string tenant_id;
35 std::string counterparty_id;
37 std::string modified_by;
38 std::string performed_by;
39 std::string change_reason_code;
40 std::string change_commentary;
41 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_from =
"9999-12-31 23:59:59";
42 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_to =
"9999-12-31 23:59:59";
45std::ostream& operator<<(std::ostream& s,
const party_counterparty_entity& v);
Database persistence layer for risk domain types.
Definition book_entity.hpp:28