20#ifndef ORES_IAM_REPOSITORY_TENANT_TYPE_ENTITY_HPP
21#define ORES_IAM_REPOSITORY_TENANT_TYPE_ENTITY_HPP
25#include "ores.database/repository/db_types.hpp"
26#include "sqlgen/PrimaryKey.hpp"
36 constexpr static const char* schema =
"public";
37 constexpr static const char* tablename =
"ores_iam_tenant_types_tbl";
39 sqlgen::PrimaryKey<std::string> type;
40 std::string tenant_id;
43 std::string description;
45 std::string modified_by;
46 std::string performed_by;
47 std::string change_reason_code;
48 std::string change_commentary;
49 std::optional<db_timestamp> valid_from =
"9999-12-31 23:59:59";
50 std::optional<db_timestamp> valid_to =
"9999-12-31 23:59:59";
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 a tenant type in the database.
Definition tenant_type_entity.hpp:35