20#ifndef ORES_IAM_REPOSITORY_ACCOUNT_PARTY_ENTITY_HPP
21#define ORES_IAM_REPOSITORY_ACCOUNT_PARTY_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
25#include "sqlgen/PrimaryKey.hpp"
35 constexpr static const char* schema =
"public";
36 constexpr static const char* tablename =
"ores_iam_account_parties_tbl";
38 sqlgen::PrimaryKey<std::string> account_id;
39 std::string tenant_id;
42 std::string modified_by;
43 std::string performed_by;
44 std::string change_reason_code;
45 std::string change_commentary;
46 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_from =
"9999-12-31 23:59:59";
47 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_to =
"9999-12-31 23:59:59";
Database persistence layer for IAM domain types.
Definition account_entity.hpp:28
Represents a account party in the database.
Definition account_party_entity.hpp:34