Setting up data, and added SQLite and TOML
This commit is contained in:
35
src/critter.hpp
Normal file
35
src/critter.hpp
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user