20#ifndef ORES_ACCOUNTS_REPOSITORY_LOGIN_INFO_MAPPER_HPP
21#define ORES_ACCOUNTS_REPOSITORY_LOGIN_INFO_MAPPER_HPP
24#include "ores.utility/log/make_logger.hpp"
25#include "ores.accounts/domain/login_info.hpp"
26#include "ores.accounts/repository/login_info_entity.hpp"
28namespace ores::accounts::repository {
35 inline static std::string_view logger_name =
36 "ores.accounts.repository.login_info_mapper";
40 static auto instance = make_logger(logger_name);
48 static std::vector<domain::login_info>
49 map(
const std::vector<login_info_entity>& v);
50 static std::vector<login_info_entity>
51 map(
const std::vector<domain::login_info>& v);
Implements logging for ORE Studio.
Definition lifecycle_manager.hpp:30
Represents login tracking and security information for an account.
Definition login_info.hpp:32
Represents login tracking information in the database.
Definition login_info_entity.hpp:32
Maps domain model entities to data storage layer and vice-versa.
Definition login_info_mapper.hpp:33