|
|
@@ -1,13 +1,14 @@ |
|
|
|
package md |
|
|
|
|
|
|
|
type BuyPackageReq struct { |
|
|
|
EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"` |
|
|
|
UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"` |
|
|
|
PackageId int `json:"package_id" label:"套餐ID"` |
|
|
|
Kind int `json:"kind" binding:"required" label:"购买类型(1:按学期购买 2:按月购买 3:按天购买 4:补餐)"` |
|
|
|
IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"` |
|
|
|
IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"` |
|
|
|
IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"` |
|
|
|
EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"` |
|
|
|
UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"` |
|
|
|
PackageId int `json:"package_id" label:"套餐ID"` |
|
|
|
PackageIds []int `json:"package_ids" label:"套餐ID"` |
|
|
|
Kind int `json:"kind" binding:"required" label:"购买类型(1:按学期购买 2:按月购买 3:按天购买 4:补餐)"` |
|
|
|
IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"` |
|
|
|
IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"` |
|
|
|
IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"` |
|
|
|
WithDays []struct { |
|
|
|
Date string `json:"date" label:"日期"` |
|
|
|
IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"` |
|
|
|