finalize entity functions

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2025-01-02 09:39:08 +01:00 committed by Folling
parent f0e6dec7de
commit c489e9e8ae
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
18 changed files with 523 additions and 181 deletions

View file

@ -3,21 +3,11 @@
#include <string>
struct IkarusBlueprint {
consteval static inline auto OBJECT_NAME() -> std::string_view {
return "blueprint";
}
constinit static inline auto object_name = "blueprint";
constinit static inline auto table_name = "blueprints";
consteval static inline auto TABLE_NAME() -> std::string_view {
return "blueprints";
}
IkarusBlueprint(
struct IkarusProject * project,
int64_t id,
std::string_view name
);
IkarusBlueprint(struct IkarusProject * project, int64_t id);
struct IkarusProject * project;
int64_t id;
std::string name;
};