finalize entity functions
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
f0e6dec7de
commit
c489e9e8ae
18 changed files with 523 additions and 181 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue