20#ifndef ORES_DQ_REPOSITORY_SUBJECT_AREA_MAPPER_HPP
21#define ORES_DQ_REPOSITORY_SUBJECT_AREA_MAPPER_HPP
23#include "ores.dq/domain/subject_area.hpp"
24#include "ores.dq/repository/subject_area_entity.hpp"
25#include "ores.logging/make_logger.hpp"
27namespace ores::dq::repository {
34 inline static std::string_view logger_name =
35 "ores.dq.repository.subject_area_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::subject_area>
47 map(
const std::vector<subject_area_entity>& v);
48 static std::vector<subject_area_entity>
49 map(
const std::vector<domain::subject_area>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Represents a subdivision within a data domain.
Definition subject_area.hpp:38
Represents a subject_area in the database.
Definition subject_area_entity.hpp:34
Maps subject_area domain entities to data storage layer and vice-versa.
Definition subject_area_mapper.hpp:32