20#ifndef ORES_CONNECTIONS_REPOSITORY_TAG_MAPPER_HPP
21#define ORES_CONNECTIONS_REPOSITORY_TAG_MAPPER_HPP
24#include "ores.connections/domain/tag.hpp"
25#include "ores.connections/repository/tag_entity.hpp"
27namespace ores::connections::repository {
29class tag_mapper final {
31 static tag_entity to_entity(
const domain::tag& t);
32 static domain::tag to_domain(
const tag_entity& e);
33 static std::vector<tag_entity> to_entities(
const std::vector<domain::tag>& tags);
34 static std::vector<domain::tag> to_domain(
const std::vector<tag_entity>& entities);