智慧食堂
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

138 linhas
6.1 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 SelfSupportForSchoolOrderListReq struct {
  61. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  62. Limit int `json:"limit"`
  63. Page int `json:"page" `
  64. OrderStatus int `json:"order_status" `
  65. StartDate string `json:"start_date" `
  66. EndDate string `json:"end_date" `
  67. }
  68. type SelfSupportForSchoolOrderArrearsListReq struct {
  69. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  70. Limit int `json:"limit"`
  71. Page int `json:"page" `
  72. }
  73. type SelfSupportForSchoolOrderDebtRepayReq struct {
  74. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  75. OutOrderNo string `json:"out_order_no"`
  76. MerchantCode string `json:"merchant_code" `
  77. }
  78. type NursingHomeOrderListReq struct {
  79. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  80. Limit int `json:"limit"`
  81. Page int `json:"page" `
  82. OrdState int `json:"ord_state" `
  83. StartDate string `json:"start_date" `
  84. EndDate string `json:"end_date" `
  85. }
  86. type NursingHomeOrderRefundReq struct {
  87. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  88. Id int `json:"id" binding:"required" label:"就餐记录id"`
  89. }
  90. type NursingHomeOrderRefundListReq struct {
  91. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  92. Limit int `json:"limit"`
  93. Page int `json:"page" `
  94. State int `json:"state" `
  95. StartDate string `json:"start_date" `
  96. EndDate string `json:"end_date" `
  97. }
  98. type NursingHomeOrderRefundListResp struct {
  99. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  100. OutRequestNo string `json:"out_request_no" label:"退款请求号"`
  101. Kind int `json:"kind" label:"预定类型"`
  102. CreateAt string `json:"create_at" label:"申请时间"`
  103. RefundDate string `json:"refund_date" label:"退款时间"`
  104. Date string `json:"date" label:"预定时间"`
  105. State int `json:"state" label:"退款状态"`
  106. Memo string `json:"memo" label:"备注"`
  107. Amount string `json:"amount" label:"退款金额"`
  108. EnterpriseName string `json:"enterprise_name" label:"单位名称"`
  109. }
  110. type NursingHomeMyReserveResp struct {
  111. Date string `json:"date" label:"日期"`
  112. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  113. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  114. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  115. Total int `json:"total" label:"数量-总计"`
  116. List []NursingHomeMyReserveRespList `json:"list" label:"列表"`
  117. }
  118. type NursingHomeMyReserveRespList struct {
  119. Date string `json:"date" label:"日期"`
  120. BreakfastTotal int `json:"breakfast_total" label:"早餐-总计"`
  121. LunchTotal int `json:"lunch_total" label:"午餐-总计"`
  122. DinnerTotal int `json:"dinner_total" label:"晚餐-总计"`
  123. }