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

481 lines
23 KiB

  1. package md
  2. type EnterpriseUserListReq struct {
  3. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  4. Limit int `json:"limit" binding:"required"`
  5. Page int `json:"page" binding:"required"`
  6. Nickname string `json:"nickname" label:"支付宝昵称"`
  7. Phone string `json:"phone" label:"手机号"`
  8. IsTeacher int `json:"is_teacher" label:"是否教师"`
  9. }
  10. type EnterpriseUserListByCentralKitchenForSchoolStruct struct {
  11. Id int `json:"id" label:"支付宝昵称"`
  12. Nickname string `json:"nickname" label:"支付宝昵称"`
  13. Phone string `json:"phone" label:"手机号"`
  14. Avatar string `json:"avatar" label:"头像"`
  15. IsTeacher int `json:"is_teacher" label:"是否教师"`
  16. CreateAt string `json:"create_at" label:"创建时间"`
  17. UserIdentities []struct {
  18. Id int `json:"id" label:"身份id"`
  19. IdNo string `json:"id_no" label:"身份证号"`
  20. SchoolName string `json:"school_name" label:"学校名"`
  21. Name string `json:"name" label:"姓名"`
  22. Grade string `json:"grade" label:"年级"`
  23. GradeId int `json:"grade_id" label:"年级id"`
  24. Class string `json:"class" label:"班级"`
  25. ClassId int `json:"class_id" label:"班级id"`
  26. } `json:"user_identities" label:"身份列表"`
  27. }
  28. type EnterpriseUserListByCentralKitchenForSchoolResp struct {
  29. List []EnterpriseUserListByCentralKitchenForSchoolStruct `json:"list"`
  30. Total int64 `json:"total"`
  31. }
  32. type CentralKitchenForSchoolUserUpdateReq struct {
  33. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  34. Uid int `json:"uid" binding:"required" label:"用户id"`
  35. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  36. Phone string `json:"phone" binding:"required" label:"手机号"`
  37. BindUserIdentities []struct {
  38. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  39. IdNo string `json:"id_no" label:"身份证号"`
  40. Name string `json:"name" label:"姓名"`
  41. GradeId int `json:"grade_id" label:"年级"`
  42. ClassId int `json:"class_id" label:"班级"`
  43. } `json:"user_identities" label:"身份列表"`
  44. }
  45. type CentralKitchenForSchoolUserDeleteReq struct {
  46. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  47. Uids []int `json:"uids" binding:"required" label:"用户id"`
  48. }
  49. type CentralKitchenForSchoolStudentListReq struct {
  50. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  51. Limit int `json:"limit" binding:"required"`
  52. Page int `json:"page" binding:"required"`
  53. Name string `json:"name" label:"姓名"`
  54. IdNo string `json:"id_no" label:"身份证号"`
  55. Phone string `json:"phone" label:"手机号"`
  56. GradeId int `json:"grade_id" label:"年级id"`
  57. ClassId int `json:"class_id" label:"班级id"`
  58. }
  59. type CentralKitchenForSchoolTeacherListReq struct {
  60. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  61. Limit int `json:"limit" binding:"required"`
  62. Page int `json:"page" binding:"required"`
  63. Name string `json:"name" label:"姓名"`
  64. IdNo string `json:"id_no" label:"身份证号"`
  65. }
  66. type CentralKitchenForSchoolStudentListResp struct {
  67. IdNo string `json:"id_no" label:"身份证号"`
  68. ParentPhone string `json:"parent_phone" label:"家长电话"`
  69. Name string `json:"name" label:"姓名"`
  70. Grade string `json:"grade" label:"年级"`
  71. GradeId int `json:"grade_id" label:"年级id"`
  72. Class string `json:"class" label:"班级"`
  73. ClassId int `json:"class_id" label:"班级"`
  74. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  75. }
  76. type CentralKitchenForSchoolTeacherListResp struct {
  77. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  78. IdNo string `json:"id_no" label:"身份证号"`
  79. Phone string `json:"parent_phone" label:"电话"`
  80. Name string `json:"name" label:"姓名"`
  81. }
  82. type CentralKitchenForSchoolTeacherUpdateReq struct {
  83. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  84. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  85. IdNo string `json:"id_no" label:"身份证号"`
  86. Name string `json:"name" label:"姓名"`
  87. }
  88. type CentralKitchenForSchoolStudentUpdateReq struct {
  89. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  90. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  91. IdNo string `json:"id_no" label:"身份证号"`
  92. Name string `json:"name" label:"姓名"`
  93. GradeId int `json:"grade_id" label:"年级id"`
  94. ClassId int `json:"class_id" label:"班级id"`
  95. }
  96. type CentralKitchenForSchoolStudentDeleteReq struct {
  97. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  98. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  99. }
  100. type CentralKitchenForSchoolTeacherDeleteReq struct {
  101. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  102. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  103. }
  104. type CentralKitchenForSchoolStudentAdmissionReq struct {
  105. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  106. ClassId int `json:"class_id" label:"班级id"`
  107. GradeId int `json:"grade_id" label:"年级id"`
  108. }
  109. type SetCentralKitchenForSchoolWithSpecReq struct {
  110. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  111. BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
  112. BreakfastUnitPriceForTeacher string `json:"breakfast_unit_price_for_teacher" binding:"required" label:"教师-早餐-单价"`
  113. LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
  114. LunchUnitPriceForTeacher string `json:"lunch_unit_price_for_teacher" binding:"required" label:"教师-午餐-单价"`
  115. DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
  116. DinnerUnitPriceForTeacher string `json:"dinner_unit_price_for_teacher" binding:"required" label:"教师-晚餐-单价"`
  117. }
  118. type SaveCentralKitchenForSchoolPackageReq struct {
  119. PackageId int `json:"package_id" label:"套餐ID"`
  120. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  121. Year string `json:"year" binding:"required" label:"年份"`
  122. Month string `json:"month" binding:"required" label:"月份"`
  123. StartDate string `json:"start_date" binding:"required" label:"开始时间"`
  124. EndDate string `json:"end_date" binding:"required" label:"截止时间"`
  125. State int `json:"state" label:"状态(1:可用 2:不可用)"`
  126. DateList []struct {
  127. Date string `json:"date"`
  128. IsOpenBreakfast int32 `json:"is_open_breakfast"`
  129. IsOpenLunch int32 `json:"is_open_lunch"`
  130. IsOpenDinner int32 `json:"is_open_dinner"`
  131. IsOpenReplenish int32 `json:"is_open_replenish"`
  132. } `json:"date_list" binding:"required" label:"日期"`
  133. }
  134. type SetBasicCentralKitchenForSchoolReq struct {
  135. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  136. State int32 `json:"state" label:"状态(1:正常 2:冻结)"`
  137. Name string `json:"name" binding:"required" label:"名称"`
  138. IsOpenBreakfast int `json:"is_open_breakfast" label:"是否开启早餐"`
  139. IsOpenLunch int `json:"is_open_lunch" label:"是否开启午餐"`
  140. IsOpenDinner int `json:"is_open_dinner" label:"是否开启晚餐"`
  141. IsOpenReportMealForDay int `json:"is_open_report_meal_for_day" label:"开启按天报餐(1:开启 2:关闭)"`
  142. IsOpenReportMealForMonth int `json:"is_open_report_meal_for_month" label:"开启按月报餐(1:开启 2:关闭)"`
  143. IsOpenReportMealForSemester int `json:"is_open_report_meal_for_semester" label:"开启按学期报餐(1:开启 2:关闭)"`
  144. IsOpenTeacherReportMeal int `json:"is_open_teacher_report_meal" label:"'教师报餐(1:开启 2:关闭)"`
  145. }
  146. type ListCentralKitchenForSchoolPackageReq struct {
  147. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  148. Page int `json:"page" label:"页码"`
  149. Limit int `json:"limit" label:"每页数量"`
  150. Year string `json:"year" label:"年份"`
  151. Month string `json:"month" label:"月份"`
  152. }
  153. type CentralKitchenForSchoolOrdRefundReq struct {
  154. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  155. Ids []string `json:"ids" label:"ids" binding:"required"`
  156. }
  157. type CentralKitchenForSchoolOrdListResp struct {
  158. EnterpriseId int `json:"enterprise_id" `
  159. EnterpriseName string `json:"enterprise_name" `
  160. Uid int `json:"uid" `
  161. UserIdentityId int `json:"user_identity_id" `
  162. UserIdentityName string `json:"user_identity_name" `
  163. TotalPrice string `json:"total_price" `
  164. Kind int `json:"kind" `
  165. OutTradeNo string `json:"out_trade_no" `
  166. TradeNo string `json:"trade_no"`
  167. State int `json:"state"`
  168. OrdState int `json:"ord_state"`
  169. CreateAt string `json:"create_at"`
  170. Phone string `json:"phone" label:"家长联系电话"`
  171. Name string `json:"name" label:"姓名"`
  172. Grade string `json:"grade" label:"年级"`
  173. GradeId int `json:"grade_id" label:"年级id"`
  174. Class string `json:"class" label:"班级"`
  175. ClassId int `json:"class_id" label:"班级id"`
  176. }
  177. type CentralKitchenForSchoolOrdListReq struct {
  178. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  179. Limit int `json:"limit" binding:"required"`
  180. Page int `json:"page" binding:"required"`
  181. Name string `json:"name" label:"姓名"`
  182. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  183. Kind int `json:"kind" label:"预定类型"`
  184. Sate int `json:"state" label:"支付状态"`
  185. OrdSate int `json:"ord_state" label:"订单状态"`
  186. GradeId int `json:"grade_id" label:"年级id"`
  187. ClassId int `json:"class_id" label:"班级id"`
  188. Phone string `json:"phone" label:"家长联系电话"`
  189. StartDate string `json:"start_date" label:"开始时间"`
  190. EndDate string `json:"end_date" label:"截止时间"`
  191. }
  192. type CentralKitchenForSchoolReserveListReq struct {
  193. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  194. Limit int `json:"limit" binding:"required"`
  195. Page int `json:"page" binding:"required"`
  196. Name string `json:"name" label:"姓名"`
  197. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  198. Kind int `json:"kind" label:"预定类型"`
  199. GradeId int `json:"grade_id" label:"年级id"`
  200. ClassId int `json:"class_id" label:"班级id"`
  201. Phone string `json:"phone" label:"家长联系电话"`
  202. StartDate string `json:"start_date" label:"开始时间"`
  203. EndDate string `json:"end_date" label:"截止时间"`
  204. }
  205. type CentralKitchenForSchoolReserveListResp struct {
  206. Id int `json:"id" `
  207. EnterpriseId int `json:"enterprise_id" `
  208. EnterpriseName string `json:"enterprise_name" `
  209. Uid int `json:"uid" `
  210. UserIdentityId int `json:"user_identity_id" `
  211. UserIdentityName string `json:"user_identity_name" `
  212. Kind int `json:"kind"`
  213. OutTradeNo string `json:"out_trade_no" `
  214. ReserveMonth string `json:"reserve_month"`
  215. CreateAt string `json:"create_at"`
  216. Phone string `json:"phone" label:"家长联系电话"`
  217. Grade string `json:"grade" label:"年级"`
  218. GradeId int `json:"grade_id" label:"年级id"`
  219. Class string `json:"class" label:"班级"`
  220. ClassId int `json:"class_id" label:"班级id"`
  221. }
  222. type SelfSupportForSchoolUserUpdateReq struct {
  223. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  224. Uid int `json:"uid" binding:"required" label:"用户id"`
  225. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  226. Phone string `json:"phone" binding:"required" label:"手机号"`
  227. BindUserIdentities []struct {
  228. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  229. IdNo string `json:"id_no" label:"身份证号"`
  230. Name string `json:"name" label:"姓名"`
  231. GradeId int `json:"grade_id" label:"年级"`
  232. ClassId int `json:"class_id" label:"班级"`
  233. } `json:"user_identities" label:"身份列表"`
  234. }
  235. type SelfSupportForSchoolUserDeleteReq struct {
  236. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  237. Uids []int `json:"uids" binding:"required" label:"用户id"`
  238. }
  239. type SelfSupportForSchoolStudentListReq struct {
  240. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  241. Limit int `json:"limit" binding:"required"`
  242. Page int `json:"page" binding:"required"`
  243. Name string `json:"name" label:"姓名"`
  244. IdNo string `json:"id_no" label:"身份证号"`
  245. Phone string `json:"phone" label:"手机号"`
  246. GradeId int `json:"grade_id" label:"年级id"`
  247. ClassId int `json:"class_id" label:"班级id"`
  248. }
  249. type SelfSupportForSchoolStudentListResp struct {
  250. IdNo string `json:"id_no" label:"身份证号"`
  251. ParentPhone string `json:"parent_phone" label:"家长电话"`
  252. Name string `json:"name" label:"姓名"`
  253. Grade string `json:"grade" label:"年级"`
  254. GradeId int `json:"grade_id" label:"年级id"`
  255. Class string `json:"class" label:"班级"`
  256. ClassId int `json:"class_id" label:"班级"`
  257. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  258. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
  259. SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
  260. SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
  261. }
  262. type SelfSupportForSchoolTeacherListReq struct {
  263. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  264. Limit int `json:"limit" binding:"required"`
  265. Page int `json:"page" binding:"required"`
  266. Name string `json:"name" label:"姓名"`
  267. IdNo string `json:"id_no" label:"身份证号"`
  268. }
  269. type SelfSupportForSchoolTeacherListResp struct {
  270. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  271. IdNo string `json:"id_no" label:"身份证号"`
  272. Phone string `json:"parent_phone" label:"电话"`
  273. Name string `json:"name" label:"姓名"`
  274. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
  275. SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
  276. SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
  277. }
  278. type SelfSupportForSchoolStudentUpdateReq struct {
  279. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  280. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  281. IdNo string `json:"id_no" label:"身份证号"`
  282. Name string `json:"name" label:"姓名"`
  283. GradeId int `json:"grade_id" label:"年级id"`
  284. ClassId int `json:"class_id" label:"班级id"`
  285. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
  286. }
  287. type SelfSupportForSchoolStudentDeleteReq struct {
  288. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  289. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  290. }
  291. type SelfSupportForSchoolStudentAdmissionReq struct {
  292. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  293. ClassId int `json:"class_id" label:"班级id"`
  294. GradeId int `json:"grade_id" label:"年级id"`
  295. }
  296. type SelfSupportForSchoolTeacherUpdateReq struct {
  297. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  298. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  299. IdNo string `json:"id_no" label:"身份证号"`
  300. Name string `json:"name" label:"姓名"`
  301. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
  302. }
  303. type SelfSupportForSchoolTeacherDeleteReq struct {
  304. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  305. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  306. }
  307. type SelfSupportForSchoolWorkerListReq struct {
  308. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  309. Limit int `json:"limit" binding:"required"`
  310. Page int `json:"page" binding:"required"`
  311. Name string `json:"name" label:"姓名"`
  312. IdNo string `json:"id_no" label:"身份证号"`
  313. }
  314. type SelfSupportForSchoolWorkerListResp struct {
  315. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  316. IdNo string `json:"id_no" label:"身份证号"`
  317. Phone string `json:"parent_phone" label:"电话"`
  318. Name string `json:"name" label:"姓名"`
  319. CreateAt string `json:"create_at" label:"创建时间"`
  320. }
  321. type SelfSupportForSchoolWorkerUpdateReq struct {
  322. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  323. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  324. IdNo string `json:"id_no" label:"身份证号"`
  325. Name string `json:"name" label:"姓名"`
  326. }
  327. type SelfSupportForSchoolWorkerDeleteReq struct {
  328. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  329. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  330. }
  331. type CentralKitchenForSchoolGradeListReq struct {
  332. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  333. Limit int `json:"limit" binding:"required"`
  334. Page int `json:"page" binding:"required"`
  335. Name string `json:"name" label:"名称"`
  336. }
  337. type CentralKitchenForSchoolClassListReq struct {
  338. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  339. GradeId int `json:"grade_id" label:"年级id"`
  340. Limit int `json:"limit" binding:"required"`
  341. Page int `json:"page" binding:"required"`
  342. Name string `json:"name" label:"名称"`
  343. }
  344. type SelfSupportForSchoolGradeListReq struct {
  345. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  346. Limit int `json:"limit" binding:"required"`
  347. Page int `json:"page" binding:"required"`
  348. Name string `json:"name" label:"名称"`
  349. }
  350. type SelfSupportForSchoolClassListReq struct {
  351. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  352. GradeId int `json:"grade_id" label:"年级id"`
  353. Limit int `json:"limit" binding:"required"`
  354. Page int `json:"page" binding:"required"`
  355. Name string `json:"name" label:"名称"`
  356. }
  357. type SelfSupportForSchoolAddWorkerReq struct {
  358. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  359. Name string `json:"name" label:"名称"`
  360. IdNo string `json:"id_no" label:"身份证号"`
  361. }
  362. type SelfSupportForSchoolAddTeacherReq struct {
  363. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  364. Name string `json:"name" label:"名称"`
  365. IdNo string `json:"id_no" label:"身份证号"`
  366. }
  367. type SelfSupportForSchoolOrdListReq struct {
  368. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  369. Limit int `json:"limit" binding:"required"`
  370. Page int `json:"page" binding:"required"`
  371. Name string `json:"name" label:"姓名"`
  372. Phone string `json:"phone" label:"用户电话"`
  373. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  374. OrderStatus int `json:"order_status" label:"订单状态"`
  375. GradeId int `json:"grade_id" label:"年级id"`
  376. ClassId int `json:"class_id" label:"班级id"`
  377. StartDate string `json:"start_date" label:"刷脸-开始时间"`
  378. EndDate string `json:"end_date" label:"刷脸-截止时间"`
  379. }
  380. type SelfSupportForSchoolArrearsOrdListReq struct {
  381. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  382. Limit int `json:"limit" binding:"required"`
  383. Page int `json:"page" binding:"required"`
  384. Name string `json:"name" label:"姓名"`
  385. Phone string `json:"phone" label:"用户电话"`
  386. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  387. GradeId int `json:"grade_id" label:"年级id"`
  388. ClassId int `json:"class_id" label:"班级id"`
  389. StartDate string `json:"start_date" label:"刷脸-开始时间"`
  390. EndDate string `json:"end_date" label:"刷脸-截止时间"`
  391. }
  392. type SelfSupportForSchoolArrearsOrdDebtRepayReq struct {
  393. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  394. OutOrderNo string `json:"out_order_no"`
  395. MerchantCode string `json:"merchant_code" `
  396. }
  397. type SelfSupportForSchoolArrearsOrdDebtCancelReq struct {
  398. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  399. OutOrderNo string `json:"out_order_no"`
  400. MerchantCode string `json:"merchant_code" `
  401. }
  402. type SelfSupportForSchoolOrdListResp struct {
  403. EnterpriseId int `json:"enterprise_id" `
  404. EnterpriseName string `json:"enterprise_name" `
  405. Uid int `json:"uid" `
  406. UserIdentityId int `json:"user_identity_id" `
  407. UserIdentityName string `json:"user_identity_name" `
  408. TotalPrice string `json:"total_price" `
  409. OutTradeNo string `json:"out_trade_no" `
  410. TradeNo string `json:"trade_no"`
  411. OrderStatus int `json:"order_status"`
  412. Phone string `json:"phone"`
  413. FaceTime string `json:"face_time"`
  414. Name string `json:"name" label:"姓名"`
  415. Grade string `json:"grade" label:"年级"`
  416. GradeId int `json:"grade_id" label:"年级id"`
  417. Class string `json:"class" label:"班级"`
  418. ClassId int `json:"class_id" label:"班级id"`
  419. DeviceSn string `json:"device_sn" label:"设备编号"`
  420. CpMerchantId string `json:"cp_merchant_id" label:"商户编码"`
  421. }
  422. type CentralKitchenForSchoolBatchAskForLeaveReq struct {
  423. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  424. GradeId int `json:"grade_id" binding:"required" label:"年级id"`
  425. ClassId int `json:"class_id" label:"班级id"`
  426. IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
  427. IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
  428. IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
  429. Date string `json:"date"`
  430. }