智慧食堂
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.

md_pay.go 1.0 KiB

1 year ago
1 year ago
1 year ago
1234567891011121314151617
  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. Kind int `json:"kind" binding:"required" label:"购买类型(1:按学期购买 2:按月购买 3:按天购买 4:补餐)"`
  7. IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"`
  8. IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"`
  9. IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"`
  10. WithDays []struct {
  11. Date string `json:"date" label:"日期"`
  12. IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"`
  13. IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"`
  14. IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"`
  15. } `json:"with_days" label:"包含天数"`
  16. }