智慧食堂
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 6.8 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
1 year ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
8 months ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. BreakfastOrdNoList []struct {
  48. OutTradeNo string `json:"out_trade_no" label:"业务订单号"`
  49. Id int `json:"id" label:"就餐记录id"`
  50. } `json:"breakfast_ord_no_list" label:"早餐-订单列表"`
  51. LunchOrdNoList []struct {
  52. OutTradeNo string `json:"out_trade_no" label:"业务订单号"`
  53. Id int `json:"id" label:"就餐记录id"`
  54. } `json:"lunch_ord_no_list" label:"午餐-订单列表"`
  55. DinnerOrdNoList []struct {
  56. OutTradeNo string `json:"out_trade_no" label:"业务订单号"`
  57. Id int `json:"id" label:"就餐记录id"`
  58. } `json:"dinner_ord_no_list" label:"晚餐-订单列表"`
  59. }
  60. type CentralKitchenForSchoolMyReserveListResp struct {
  61. Date string `json:"date" label:"日期"`
  62. TotalAmount string `json:"total_amount" label:"总计金额"`
  63. List []CentralKitchenForSchoolMyReserveListRespList `json:"list" label:"列表"`
  64. }
  65. type CentralKitchenForSchoolMyReserveListRespList struct {
  66. Month int `json:"month" label:"月份"`
  67. TotalAmount string `json:"total_amount" label:"总金额"`
  68. RefundTotalAmount string `json:"refund_total_amount" label:"退款总金额"`
  69. }
  70. type SelfSupportForSchoolOrderListReq struct {
  71. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  72. Limit int `json:"limit"`
  73. Page int `json:"page" `
  74. OrderStatus int `json:"order_status" `
  75. StartDate string `json:"start_date" `
  76. EndDate string `json:"end_date" `
  77. }
  78. type SelfSupportForSchoolOrderArrearsListReq struct {
  79. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  80. Limit int `json:"limit"`
  81. Page int `json:"page" `
  82. }
  83. type SelfSupportForSchoolOrderDebtRepayReq struct {
  84. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  85. OutOrderNo string `json:"out_order_no"`
  86. MerchantCode string `json:"merchant_code" `
  87. }
  88. type AlipayPlanetEcocampusApiFtokenQueryReq struct {
  89. OutOrderNo string `json:"out_order_no"`
  90. CpMerchantId string `json:"cp_merchant_id" `
  91. }
  92. type NursingHomeOrderListReq struct {
  93. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  94. Limit int `json:"limit"`
  95. Page int `json:"page" `
  96. OrdState int `json:"ord_state" `
  97. StartDate string `json:"start_date" `
  98. EndDate string `json:"end_date" `
  99. }
  100. type NursingHomeOrderRefundReq struct {
  101. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  102. Id int `json:"id" binding:"required" label:"就餐记录id"`
  103. }
  104. type NursingHomeOrderRefundListReq struct {
  105. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  106. Limit int `json:"limit"`
  107. Page int `json:"page" `
  108. State int `json:"state" `
  109. StartDate string `json:"start_date" `
  110. EndDate string `json:"end_date" `
  111. }
  112. type NursingHomeOrderRefundListResp struct {
  113. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  114. OutRequestNo string `json:"out_request_no" label:"退款请求号"`
  115. Kind int `json:"kind" label:"预定类型"`
  116. CreateAt string `json:"create_at" label:"申请时间"`
  117. RefundDate string `json:"refund_date" label:"退款时间"`
  118. Date string `json:"date" label:"预定时间"`
  119. State int `json:"state" label:"退款状态"`
  120. Memo string `json:"memo" label:"备注"`
  121. Amount string `json:"amount" label:"退款金额"`
  122. EnterpriseName string `json:"enterprise_name" label:"单位名称"`
  123. }
  124. type NursingHomeMyReserveResp struct {
  125. Date string `json:"date" label:"日期"`
  126. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  127. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  128. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  129. Total int `json:"total" label:"数量-总计"`
  130. List []NursingHomeMyReserveRespList `json:"list" label:"列表"`
  131. }
  132. type NursingHomeMyReserveRespList struct {
  133. Date string `json:"date" label:"日期"`
  134. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  135. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  136. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  137. }