fix: rename dish to meal (#3)

Reviewed-on: #3
Co-authored-by: bdoerfchen <git@bissendorf.co>
Co-committed-by: bdoerfchen <git@bissendorf.co>
This commit is contained in:
2025-07-20 18:01:26 +00:00
committed by bissendorf
parent da2d507629
commit e395b0b4ca
6 changed files with 40 additions and 37 deletions

21
model/external/stwbremen/meal.go vendored Normal file
View File

@ -0,0 +1,21 @@
package stwbremen
type Meal struct {
Title string `json:"title"`
Ingredients []Ingredient `json:"ingredients"`
Prices []Price `json:"prices"`
Location string `json:"location"`
Date string `json:"date"` // YYYY-MM-DD
Counter string `json:"counter"`
Tags string `json:"mealadds"`
}
type Ingredient struct {
Label string `json:"label"`
Additionals []string `json:"additionals"`
}
type Price struct {
Label string `json:"label"`
Price string `json:"price"`
}