getting more database stuff hooked up
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user