20#ifndef ORES_REFDATA_CORE_REPOSITORY_CURRENCY_MARKET_TIER_MAPPER_HPP
21#define ORES_REFDATA_CORE_REPOSITORY_CURRENCY_MARKET_TIER_MAPPER_HPP
23#include "ores.refdata.api/domain/currency_market_tier.hpp"
24#include "ores.refdata.core/repository/currency_market_tier_entity.hpp"
25#include "ores.logging/make_logger.hpp"
34 inline static std::string_view logger_name =
35 "ores.refdata.repository.currency_market_tier_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::currency_market_tier>
47 map(
const std::vector<currency_market_tier_entity>& v);
48 static std::vector<currency_market_tier_entity>
49 map(
const std::vector<domain::currency_market_tier>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Database persistence layer for risk domain types.
Definition book_entity.hpp:28
Valid currency market tier classifications.
Definition currency_market_tier.hpp:38
Represents a currency market tier in the database.
Definition currency_market_tier_entity.hpp:34
Maps currency_market_tier domain entities to data storage layer and vice-versa.
Definition currency_market_tier_mapper.hpp:32