20#ifndef ORES_CONNECTIONS_REPOSITORY_ENVIRONMENT_TAG_MAPPER_HPP
21#define ORES_CONNECTIONS_REPOSITORY_ENVIRONMENT_TAG_MAPPER_HPP
24#include "ores.connections/domain/environment_tag.hpp"
25#include "ores.connections/repository/environment_tag_entity.hpp"
27namespace ores::connections::repository {
29class environment_tag_mapper final {
31 static environment_tag_entity to_entity(
const domain::environment_tag& et);
32 static domain::environment_tag to_domain(
const environment_tag_entity& e);
33 static std::vector<environment_tag_entity> to_entities(
34 const std::vector<domain::environment_tag>& tags);
35 static std::vector<domain::environment_tag> to_domain(
36 const std::vector<environment_tag_entity>& entities);