20#ifndef ORES_REFDATA_CORE_REPOSITORY_PARTY_COUNTRY_MAPPER_HPP
21#define ORES_REFDATA_CORE_REPOSITORY_PARTY_COUNTRY_MAPPER_HPP
23#include "ores.refdata.api/domain/party_country.hpp"
24#include "ores.refdata.core/repository/party_country_entity.hpp"
25#include "ores.logging/make_logger.hpp"
29class party_country_mapper {
31 inline static std::string_view logger_name =
32 "ores.refdata.repository.party_country_mapper";
34 [[nodiscard]]
static auto& lg() {
36 static auto instance = make_logger(logger_name);
40 static domain::party_country map(
const party_country_entity& v);
41 static party_country_entity map(
const domain::party_country& v);
43 static std::vector<domain::party_country>
44 map(
const std::vector<party_country_entity>& v);
45 static std::vector<party_country_entity>
46 map(
const std::vector<domain::party_country>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Database persistence layer for risk domain types.
Definition book_entity.hpp:28