智慧食堂
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_order.go 2.4 KiB

1 year ago
1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package md
  2. type CentralKitchenForSchoolOrderListReq struct {
  3. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  4. Limit int `json:"limit"`
  5. Page int `json:"page" `
  6. OrdState int `json:"ord_state" `
  7. }
  8. type CentralKitchenForSchoolOrderRefundReq struct {
  9. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  10. Id int `json:"id" binding:"required" label:"就餐记录id"`
  11. }
  12. type CentralKitchenForSchoolOrderRefundListReq struct {
  13. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  14. Limit int `json:"limit"`
  15. Page int `json:"page" `
  16. State int `json:"state" `
  17. }
  18. type CentralKitchenForSchoolOrderRefundListResp struct {
  19. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  20. OutRequestNo string `json:"out_request_no" label:"退款请求号"`
  21. Kind int `json:"kind" label:"预定类型"`
  22. CreateAt string `json:"create_at" label:"退款时间"`
  23. Date string `json:"date" label:"预定时间"`
  24. State int `json:"state" label:"退款状态"`
  25. Memo string `json:"memo" label:"备注"`
  26. Amount string `json:"amount" label:"退款金额"`
  27. }
  28. type CentralKitchenForSchoolMyReserveResp struct {
  29. Date string `json:"date" label:"日期"`
  30. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  31. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  32. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  33. Total int `json:"total" label:"数量-总计"`
  34. List []CentralKitchenForSchoolMyReserveRespList `json:"list" label:"列表"`
  35. }
  36. type CentralKitchenForSchoolMyReserveRespList struct {
  37. Date string `json:"date" label:"日期"`
  38. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  39. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  40. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  41. }
  42. type SelfSupportForSchoolOrderListReq struct {
  43. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  44. Limit int `json:"limit"`
  45. Page int `json:"page" `
  46. OrderStatus int `json:"order_status" `
  47. StartDate string `json:"start_date" `
  48. EndDate string `json:"end_date" `
  49. }