added info to meal
This commit is contained in:
@@ -28,11 +28,14 @@ type Ingredient struct {
|
||||
|
||||
// Meal represents a meal recipe
|
||||
type Meal struct {
|
||||
ID int `json:"id"`
|
||||
UserID int `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
MealType string `json:"meal_type"` // "breakfast", "lunch", "snack"
|
||||
ID int `json:"id"`
|
||||
UserID int `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
MealType string `json:"meal_type"` // "breakfast", "lunch", "snack"
|
||||
Instructions string `json:"instructions"`
|
||||
PrepTime int `json:"prep_time"` // in minutes
|
||||
ImageURL string `json:"image_url"`
|
||||
}
|
||||
|
||||
// MealIngredient represents an ingredient in a meal with its quantity
|
||||
|
||||
Reference in New Issue
Block a user