20#ifndef ORES_DQ_CORE_REPOSITORY_FSM_STATE_MAPPER_HPP
21#define ORES_DQ_CORE_REPOSITORY_FSM_STATE_MAPPER_HPP
23#include "ores.dq.api/domain/fsm_state.hpp"
24#include "ores.dq.core/repository/fsm_state_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.fsm_state_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::fsm_state>
47 map(
const std::vector<fsm_state_entity>& v);
48 static std::vector<fsm_state_entity>
49 map(
const std::vector<domain::fsm_state>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
A state within a finite state machine.
Definition fsm_state.hpp:36
Represents a FSM state in the database.
Definition fsm_state_entity.hpp:34
Maps fsm_state domain entities to data storage layer and vice-versa.
Definition fsm_state_mapper.hpp:32