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