20#ifndef ORES_REFDATA_CORE_REPOSITORY_COUNTERPARTY_ENTITY_HPP
21#define ORES_REFDATA_CORE_REPOSITORY_COUNTERPARTY_ENTITY_HPP
25#include "ores.database/repository/db_types.hpp"
26#include "sqlgen/PrimaryKey.hpp"
36 constexpr static const char* schema =
"public";
37 constexpr static const char* tablename =
"ores_refdata_counterparties_tbl";
39 sqlgen::PrimaryKey<std::string> id;
40 std::string tenant_id;
42 std::string full_name;
43 std::string short_code;
44 std::optional<std::string> transliterated_name;
45 std::string party_type;
46 std::optional<std::string> parent_counterparty_id;
47 std::string business_center_code;
49 std::string modified_by;
50 std::string performed_by;
51 std::string change_reason_code;
52 std::string change_commentary;
ores::database::repository::db_timestamp db_timestamp
Canonical database timestamp type.
Definition database_info_entity.hpp:31
Database persistence layer for risk domain types.
Definition asset_class_repository.hpp:29
Represents a counterparty in the database.
Definition counterparty_entity.hpp:35