20#ifndef ORES_COMPUTE_DOMAIN_APP_HPP
21#define ORES_COMPUTE_DOMAIN_APP_HPP
24#include "ores.utility/uuid/tenant_id.hpp"
26namespace ores::compute::domain {
48 boost::uuids::uuid
id;
A registered application engine in the compute grid.
Definition app.hpp:34
std::string modified_by
Username of the person who last modified this compute app.
Definition app.hpp:63
std::string change_commentary
Free-text commentary explaining the change.
Definition app.hpp:80
std::string description
Human-readable description of the application engine.
Definition app.hpp:58
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition app.hpp:85
std::string name
Unique application identifier, e.g. 'ORE_STUDIO', 'LLAMA_CPP', 'LEDGER'.
Definition app.hpp:53
boost::uuids::uuid id
UUID primary key for the app.
Definition app.hpp:48
int version
Version number for optimistic locking and change tracking.
Definition app.hpp:38
std::string performed_by
Username of the account that performed this action.
Definition app.hpp:68
utility::uuid::tenant_id tenant_id
Tenant identifier for multi-tenancy isolation.
Definition app.hpp:43
std::string change_reason_code
Code identifying the reason for the change.
Definition app.hpp:75
A strongly-typed wrapper around a UUID representing a tenant identifier.
Definition tenant_id.hpp:66
static tenant_id system()
Creates a tenant_id representing the system tenant.
Definition tenant_id.cpp:41