getting more database stuff hooked up

This commit is contained in:
2026-08-05 22:38:13 -05:00
parent ac433870c2
commit 9e96151a42
4 changed files with 163 additions and 51 deletions

View File

@@ -31,4 +31,16 @@ class Critter {
int father_id;
std::string gender;
std::string species;
Critter() = default;
Critter(int id, std::string name, std::string gender, int mother_id, int father_id, std::string notes, std::string species) :
id(id), name(std::move(name)), gender(std::move(gender)),
mother_id(mother_id), father_id(father_id),
notes(std::move(notes)), species(std::move(species)) {}
};
struct CritterEntry {
int key;
Critter value;
};