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

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. StartDate string `json:"start_date" `
  8. EndDate string `json:"end_date" `
  9. }
  10. type CentralKitchenForSchoolOrderRefundReq struct {
  11. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  12. Id int `json:"id" binding:"required" label:"就餐记录id"`
  13. }
  14. type CentralKitchenForSchoolOrderRefundListReq struct {
  15. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  16. Limit int `json:"limit"`
  17. Page int `json:"page" `
  18. State int `json:"state" `
  19. StartDate string `json:"start_date" `
  20. EndDate string `json:"end_date" `
  21. }
  22. type CentralKitchenForSchoolOrderRefundListResp struct {
  23. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  24. OutRequestNo string `json:"out_request_no" label:"退款请求号"`
  25. Kind int `json:"kind" label:"预定类型"`
  26. CreateAt string `json:"create_at" label:"申请时间"`
  27. RefundDate string `json:"refund_date" label:"退款时间"`
  28. Date string `json:"date" label:"预定时间"`
  29. State int `json:"state" label:"退款状态"`
  30. Memo string `json:"memo" label:"备注"`
  31. Amount string `json:"amount" label:"退款金额"`
  32. EnterpriseName string `json:"enterprise_name" label:"学校名称"`
  33. }
  34. type CentralKitchenForSchoolMyReserveResp struct {
  35. Date string `json:"date" label:"日期"`
  36. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  37. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  38. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  39. Total int `json:"total" label:"数量-总计"`
  40. List []CentralKitchenForSchoolMyReserveRespList `json:"list" label:"列表"`
  41. }
  42. type CentralKitchenForSchoolMyReserveRespList struct {
  43. Date string `json:"date" label:"日期"`
  44. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  45. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  46. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  47. }
  48. type SelfSupportForSchoolOrderListReq struct {
  49. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  50. Limit int `json:"limit"`
  51. Page int `json:"page" `
  52. OrderStatus int `json:"order_status" `
  53. StartDate string `json:"start_date" `
  54. EndDate string `json:"end_date" `
  55. }
  56. type SelfSupportForSchoolOrderArrearsListReq struct {
  57. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  58. Limit int `json:"limit"`
  59. Page int `json:"page" `
  60. }
  61. type SelfSupportForSchoolOrderDebtRepayReq struct {
  62. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  63. OutOrderNo string `json:"out_order_no"`
  64. MerchantCode string `json:"merchant_code" `
  65. }