-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorderform.go
43 lines (35 loc) · 1004 Bytes
/
orderform.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package model
type DinnerFormed struct {
StateID int `json:"stateId"`
OrderedID int `json:"orderId"`
ID int `json:"id"`
DinnerID int `json:"dinnerId"`
StyleID int `json:"styleId"`
MenuList []int `json:"menuList"`
}
type MenuFormed struct {
StateID int `json:"stateId"`
OrderedID int `json:"orderId"`
DinnerID int `json:"dinnerId"`
ID int `json:"id"`
MenuID int `json:"menuId"`
TypeID int `json:"typeId"`
OptionList []int `json:"optionList"`
}
type OptionFormed struct {
Name string
}
type OrderFormed struct {
OrderID int `json:"orderId"`
CreatedAt string `json:"createdAt"`
ReserveAt string `json:"reserveAt"`
Price int `json:"price"`
DinnerList []string `json:"dinnerList"`
}
type OrderSummary struct {
OrderID int `json:"orderId"`
StateID int `json:"stateId"`
ReserveAt string `json:"reserveAt"`
Price int `json:"price"`
DinnerList []int `json:"dinnerList"`
}