智慧食堂
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1234567891011121314151617181920212223242526272829303132333435
  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. }
  18. type NursingHomeBuyPackageReq struct {
  19. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  20. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  21. PackageId int `json:"package_id" label:"套餐ID"`
  22. PackageIds []int `json:"package_ids" label:"套餐ID"`
  23. Kind int `json:"kind" binding:"required" label:"购买类型(1:按年购买 2:按月购买 3:按天购买 4:补餐)"`
  24. IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"`
  25. IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"`
  26. IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"`
  27. WithDays []struct {
  28. Date string `json:"date" label:"日期"`
  29. IsBuyBreakfast int `json:"is_buy_breakfast" label:"是否购买早餐(1:是 2:否)"`
  30. IsBuyLunch int `json:"is_buy_lunch" label:"是否购买午餐(1:是 2:否)"`
  31. IsBuyDinner int `json:"is_buy_dinner" label:"是否购买晚餐(1:是 2:否)"`
  32. } `json:"with_days" label:"包含天数"`
  33. }