summaryrefslogtreecommitdiff
path: root/src/recipe.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-04-24 16:28:35 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-05-26 18:41:20 +0200
commite242295d2d1bbfaaca3da0807308478c1d5ad0f8 (patch)
treec787c7e55af0752f5c171c6f5529fb0c37958227 /src/recipe.h
parent60cacb4babb46ae2ab22ae0b7b7357012887460d (diff)
Added more fields to database, recipe and viewer.
Diffstat (limited to 'src/recipe.h')
-rw-r--r--src/recipe.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/recipe.h b/src/recipe.h
index 3b6ef3e..f33c07c 100644
--- a/src/recipe.h
+++ b/src/recipe.h
@@ -47,7 +47,17 @@ struct Recipe
{
int id;
std::string title;
+ std::string description;
std::string image;
std::string instructions;
std::vector<Ingredient> ingredients;
+
+ std::string source;
+ std::string cuisine;
+ int cooktime;
+ int preptime;
+
+ double yields;
+ std::string yield_unit;
+ std::vector<std::string> tags;
};