20#ifndef ORES_REFDATA_CORE_REPOSITORY_BUSINESS_CENTRE_MAPPER_HPP
21#define ORES_REFDATA_CORE_REPOSITORY_BUSINESS_CENTRE_MAPPER_HPP
23#include "ores.logging/make_logger.hpp"
24#include "ores.refdata.api/domain/business_centre.hpp"
25#include "ores.refdata.core/repository/business_centre_entity.hpp"
34 inline static std::string_view logger_name =
35 "ores.refdata.repository.business_centre_mapper";
39 static auto instance = make_logger(logger_name);
47 static std::vector<domain::business_centre>
48 map(
const std::vector<business_centre_entity>& v);
49 static std::vector<business_centre_entity>
50 map(
const std::vector<domain::business_centre>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Database persistence layer for risk domain types.
Definition book_entity.hpp:28
Represents a business centre using FpML-style codes.
Definition business_centre.hpp:37
Represents a business centre in the database.
Definition business_centre_entity.hpp:33
Maps domain model entities to data storage layer and vice-versa.
Definition business_centre_mapper.hpp:32