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