20#ifndef ORES_IAM_REPOSITORY_LOGIN_INFO_ENTITY_HPP
21#define ORES_IAM_REPOSITORY_LOGIN_INFO_ENTITY_HPP
24#include "ores.database/repository/db_types.hpp"
25#include "sqlgen/PrimaryKey.hpp"
35 constexpr static const char* schema =
"public";
36 constexpr static const char* tablename =
"ores_iam_login_info_tbl";
38 sqlgen::PrimaryKey<std::string> account_id;
39 std::string tenant_id;
41 std::string last_attempt_ip;
46 int password_reset_required;
ores::database::repository::db_timestamp db_timestamp
Canonical database timestamp type.
Definition database_info_entity.hpp:31
Database persistence layer for IAM domain types.
Definition account_entity.hpp:28
Represents login tracking information in the database.
Definition login_info_entity.hpp:34