feat: base implementation
This commit is contained in:
21
model/external/stwbremen/dish.go
vendored
Normal file
21
model/external/stwbremen/dish.go
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
package stwbremen
|
||||
|
||||
type Dish 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user