20#ifndef ORES_REFDATA_REPOSITORY_CURRENCY_MAPPERP_HPP
21#define ORES_REFDATA_REPOSITORY_CURRENCY_MAPPERP_HPP
23#include "ores.logging/make_logger.hpp"
24#include "ores.refdata/domain/currency.hpp"
25#include "ores.refdata/repository/currency_entity.hpp"
34 inline static std::string_view logger_name =
35 "ores.refdata.repository.currency_mapper";
39 static auto instance = make_logger(logger_name);
47 static std::vector<domain::currency>
48 map(
const std::vector<currency_entity>& v);
49 static std::vector<currency_entity>
50 map(
const std::vector<domain::currency>& 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 currency with its metadata and formatting rules.
Definition currency.hpp:33
Represents a currency in the database.
Definition currency_entity.hpp:33
Maps domain model entities to data storage layer and vice-versa.
Definition currency_mapper.hpp:32