meal categories
This commit is contained in:
@@ -65,11 +65,18 @@ pub struct Category {
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct MealCategory {
|
||||
pub id: i64,
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Meal {
|
||||
pub id: i64,
|
||||
pub name: String,
|
||||
pub description: String,
|
||||
pub category_id: Option<i64>,
|
||||
pub ingredients: Vec<MealIngredient>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user