20#ifndef ORES_IAM_REPOSITORY_LOGIN_INFO_ENTITY_HPP
21#define ORES_IAM_REPOSITORY_LOGIN_INFO_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
25#include "sqlgen/PrimaryKey.hpp"
33 constexpr static const char* schema =
"production";
34 constexpr static const char* tablename =
"iam_login_info_tbl";
36 sqlgen::PrimaryKey<std::string> account_id;
38 std::string last_attempt_ip;
41 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> last_login =
"9999-12-31 23:59:59";
43 int password_reset_required;
Database persistence layer for IAM domain types.
Definition account_entity.hpp:27
Represents login tracking information in the database.
Definition login_info_entity.hpp:32