智慧食堂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.1 KiB

  1. package md
  2. type BuyPackageReq struct {
  3. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  4. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  5. PackageId int `json:"package_id" label:"套餐ID"`
  6. PackageIds []int `json:"package_ids" label:"套餐ID"`
  7. Kind int `json:"kind" binding:"required" label:"购买类型(1:按学期购买 2:按月购买 3:按天购买 4:补餐)"`
  8. IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"`
  9. IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"`
  10. IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"`
  11. WithDays []struct {
  12. Date string `json:"date" label:"日期"`
  13. IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"`
  14. IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"`
  15. IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"`
  16. } `json:"with_days" label:"包含天数"`
  17. }