20#ifndef ORES_REFDATA_REPOSITORY_COUNTRY_MAPPER_HPP
21#define ORES_REFDATA_REPOSITORY_COUNTRY_MAPPER_HPP
23#include "ores.logging/make_logger.hpp"
24#include "ores.refdata/domain/country.hpp"
25#include "ores.refdata/repository/country_entity.hpp"
34 inline static std::string_view logger_name =
35 "ores.refdata.repository.country_mapper";
39 static auto instance = make_logger(logger_name);
47 static std::vector<domain::country>
48 map(
const std::vector<country_entity>& v);
49 static std::vector<country_entity>
50 map(
const std::vector<domain::country>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Database persistence layer for risk domain types.
Definition country_entity.hpp:28
Represents a country using ISO 3166-1 standard codes.
Definition country.hpp:33
Represents a country in the database using ISO 3166-1 codes.
Definition country_entity.hpp:33
Maps domain model entities to data storage layer and vice-versa.
Definition country_mapper.hpp:32