20#ifndef ORES_IAM_REPOSITORY_TENANT_TYPE_MAPPER_HPP
21#define ORES_IAM_REPOSITORY_TENANT_TYPE_MAPPER_HPP
23#include "ores.iam.api/domain/tenant_type.hpp"
24#include "ores.iam.core/repository/tenant_type_entity.hpp"
25#include "ores.logging/make_logger.hpp"
34 inline static std::string_view logger_name =
35 "ores.iam.repository.tenant_type_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::tenant_type>
47 map(
const std::vector<tenant_type_entity>& v);
48 static std::vector<tenant_type_entity>
49 map(
const std::vector<domain::tenant_type>& v);
Database persistence layer for IAM domain types.
Definition account_entity.hpp:28
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Classification of tenant types.
Definition tenant_type.hpp:38
Represents a tenant type in the database.
Definition tenant_type_entity.hpp:33
Maps tenant_type domain entities to data storage layer and vice-versa.
Definition tenant_type_mapper.hpp:32