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

150 lines
6.7 KiB

  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 NursingHomeOrderListReq struct {
  89. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  90. Limit int `json:"limit"`
  91. Page int `json:"page" `
  92. OrdState int `json:"ord_state" `
  93. StartDate string `json:"start_date" `
  94. EndDate string `json:"end_date" `
  95. }
  96. type NursingHomeOrderRefundReq struct {
  97. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  98. Id int `json:"id" binding:"required" label:"就餐记录id"`
  99. }
  100. type NursingHomeOrderRefundListReq struct {
  101. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  102. Limit int `json:"limit"`
  103. Page int `json:"page" `
  104. State int `json:"state" `
  105. StartDate string `json:"start_date" `
  106. EndDate string `json:"end_date" `
  107. }
  108. type NursingHomeOrderRefundListResp struct {
  109. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  110. OutRequestNo string `json:"out_request_no" label:"退款请求号"`
  111. Kind int `json:"kind" label:"预定类型"`
  112. CreateAt string `json:"create_at" label:"申请时间"`
  113. RefundDate string `json:"refund_date" label:"退款时间"`
  114. Date string `json:"date" label:"预定时间"`
  115. State int `json:"state" label:"退款状态"`
  116. Memo string `json:"memo" label:"备注"`
  117. Amount string `json:"amount" label:"退款金额"`
  118. EnterpriseName string `json:"enterprise_name" label:"单位名称"`
  119. }
  120. type NursingHomeMyReserveResp struct {
  121. Date string `json:"date" label:"日期"`
  122. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  123. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  124. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  125. Total int `json:"total" label:"数量-总计"`
  126. List []NursingHomeMyReserveRespList `json:"list" label:"列表"`
  127. }
  128. type NursingHomeMyReserveRespList struct {
  129. Date string `json:"date" label:"日期"`
  130. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  131. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  132. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  133. }