Setting up data, and added SQLite and TOML

This commit is contained in:
2026-08-02 23:48:34 -05:00
parent 81c0a97499
commit d87b2e3730
5 changed files with 81 additions and 5 deletions

35
src/critter.hpp Normal file
View File

@@ -0,0 +1,35 @@
#pragma once
#include <string>
#include <vector>
class CritterEvent {
public:
std::string name;
std::string date;
std::string time;
std::string description;
};
class CritterDocument {
public:
std::string name;
std::string doc_type;
std::string cached_path;
};
class Critter {
enum Sex {Male, Female};
public:
std::string name;
Sex sex;
std::string birthdate;
Critter *mother;
Critter *father;
std::vector<Critter*> children;
std::string notes;
std::vector<CritterEvent> events;
std::vector<CritterDocument> documents;
};