Files
unifood/model/external/stwbremen/meal.go
bdoerfchen e395b0b4ca fix: rename dish to meal (#3)
Reviewed-on: #3
Co-authored-by: bdoerfchen <git@bissendorf.co>
Co-committed-by: bdoerfchen <git@bissendorf.co>
2025-07-20 18:01:26 +00:00

22 lines
544 B
Go

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"`
}