-
Notifications
You must be signed in to change notification settings - Fork 9
/
DataList.go
53 lines (52 loc) · 2.69 KB
/
DataList.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
44
45
46
47
48
49
50
51
52
53
package eleenterpriserestaurant
// DataList 结构体
type DataList struct {
// 食物信息
Foods []Foods `json:"foods,omitempty" xml:"foods>foods,omitempty"`
// 活动, 参考餐厅活动
Activities []Activite `json:"activities,omitempty" xml:"activities>activite,omitempty"`
// 距离(米)
Distance string `json:"distance,omitempty" xml:"distance,omitempty"`
// 店铺综合评分
Rating string `json:"rating,omitempty" xml:"rating,omitempty"`
// 餐厅唯一码
OnlyRestaurantCode string `json:"only_restaurant_code,omitempty" xml:"only_restaurant_code,omitempty"`
// 促销信息或者商家公告
PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"`
// 配送费
AgentFee string `json:"agent_fee,omitempty" xml:"agent_fee,omitempty"`
// 餐厅名称
RestaurantName string `json:"restaurant_name,omitempty" xml:"restaurant_name,omitempty"`
// 餐厅
ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
// 起送价
DeliverAmount string `json:"deliver_amount,omitempty" xml:"deliver_amount,omitempty"`
// 餐厅ID
ErestaurantId string `json:"erestaurant_id,omitempty" xml:"erestaurant_id,omitempty"`
// 人均消费金额(元)
AverageCost string `json:"average_cost,omitempty" xml:"average_cost,omitempty"`
// 水印序列号
SerialNumber string `json:"serial_number,omitempty" xml:"serial_number,omitempty"`
// 餐厅信息
Restaurant *Restaurant `json:"restaurant,omitempty" xml:"restaurant,omitempty"`
// 是否支持食安保:0,否;1,是
IsInsurance int64 `json:"is_insurance,omitempty" xml:"is_insurance,omitempty"`
// 是否新店:0,否;1,是
IsNew int64 `json:"is_new,omitempty" xml:"is_new,omitempty"`
// 最近一个月订单量
RecentOrderNum int64 `json:"recent_order_num,omitempty" xml:"recent_order_num,omitempty"`
// 平均送餐时间
DeliverSpent int64 `json:"deliver_spent,omitempty" xml:"deliver_spent,omitempty"`
// 0.关店 1.营业
IsOpen int64 `json:"is_open,omitempty" xml:"is_open,omitempty"`
// 是否蜂鸟专送餐厅
IsDistRst int64 `json:"is_dist_rst,omitempty" xml:"is_dist_rst,omitempty"`
// 是否支持开发票: 0,否;1, 是
Invoice int64 `json:"invoice,omitempty" xml:"invoice,omitempty"`
// 是否品牌店:0,否;1,是
IsPremium int64 `json:"is_premium,omitempty" xml:"is_premium,omitempty"`
// 是否支持预定. 0 不支持预定, 1 支持预定
IsBookable int64 `json:"is_bookable,omitempty" xml:"is_bookable,omitempty"`
// 餐厅整体营业状态:1 餐厅营业中,2餐厅关闭,3 餐厅网路不稳定,4 餐厅休息中,5 直接说预定,6 只接受电话预定,7 餐厅休假中
TotalStatus int64 `json:"total_status,omitempty" xml:"total_status,omitempty"`
}