20#ifndef ORES_RISK_REPOSITORY_CURRENCY_MAPPERP_HPP
21#define ORES_RISK_REPOSITORY_CURRENCY_MAPPERP_HPP
23#include "ores.utility/log/make_logger.hpp"
24#include "ores.risk/domain/currency.hpp"
25#include "ores.risk/repository/currency_entity.hpp"
27namespace ores::risk::repository {
34 inline static std::string_view logger_name =
35 "ores.risk.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 for ORE Studio.
Definition lifecycle_manager.hpp:30
Represents a currency with its metadata and formatting rules.
Definition currency.hpp:30
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