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

890 lines
46 KiB

  1. package md
  2. type EnterpriseUserListReq struct {
  3. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  4. GradeId int `json:"grade_id" label:"年级id"`
  5. ClassId int `json:"class_id" label:"班级id"`
  6. Limit int `json:"limit" binding:"required"`
  7. Page int `json:"page" binding:"required"`
  8. Nickname string `json:"nickname" label:"支付宝昵称"`
  9. Name string `json:"name" label:"用户名称"`
  10. Phone string `json:"phone" label:"手机号"`
  11. IsTeacher int `json:"is_teacher" label:"是否教师"`
  12. EnterpriseName string `json:"enterprise_name" label:"校企名称"`
  13. }
  14. type EnterpriseUserListByCentralKitchenForSchoolStruct struct {
  15. Id int `json:"id" label:"支付宝昵称"`
  16. Nickname string `json:"nickname" label:"支付宝昵称"`
  17. Phone string `json:"phone" label:"手机号"`
  18. Avatar string `json:"avatar" label:"头像"`
  19. IsTeacher int `json:"is_teacher" label:"是否教师"`
  20. CreateAt string `json:"create_at" label:"创建时间"`
  21. UserIdentities []struct {
  22. Id int `json:"id" label:"身份id"`
  23. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  24. IdNo string `json:"id_no" label:"身份证号"`
  25. CertType int `json:"cert_type" label:"证件类型"`
  26. SchoolName string `json:"school_name" label:"学校名"`
  27. Name string `json:"name" label:"姓名"`
  28. Grade string `json:"grade" label:"年级"`
  29. GradeId int `json:"grade_id" label:"年级id"`
  30. Class string `json:"class" label:"班级"`
  31. ClassId int `json:"class_id" label:"班级id"`
  32. } `json:"user_identities" label:"身份列表"`
  33. }
  34. type EnterpriseUserListByCentralKitchenForSchoolResp struct {
  35. List []EnterpriseUserListByCentralKitchenForSchoolStruct `json:"list"`
  36. Total int64 `json:"total"`
  37. UserIdentityKindList interface{} `json:"user_identity_kind_list"`
  38. UserIdentityCertTypeList interface{} `json:"user_identity_cert_type_list"`
  39. }
  40. type CentralKitchenForSchoolUserUpdateReq struct {
  41. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  42. Uid int `json:"uid" binding:"required" label:"用户id"`
  43. Nickname string `json:"nickname" label:"支付宝昵称"`
  44. Phone string `json:"phone" binding:"required" label:"手机号"`
  45. BindUserIdentities []struct {
  46. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  47. IdNo string `json:"id_no" label:"身份证号"`
  48. CertType int `json:"cert_type" label:"证件类型"`
  49. Name string `json:"name" label:"姓名"`
  50. GradeId int `json:"grade_id" label:"年级"`
  51. ClassId int `json:"class_id" label:"班级"`
  52. } `json:"user_identities" label:"身份列表"`
  53. }
  54. type CentralKitchenForSchoolUserUpdateReqV2 struct {
  55. Uid int `json:"uid" binding:"required" label:"用户id"`
  56. Nickname string `json:"nickname" label:"支付宝昵称"`
  57. Phone string `json:"phone" binding:"required" label:"手机号"`
  58. BindUserIdentities []struct {
  59. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  60. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  61. IdNo string `json:"id_no" label:"身份证号"`
  62. CertType int `json:"cert_type" label:"证件类型"`
  63. Name string `json:"name" label:"姓名"`
  64. GradeId int `json:"grade_id" label:"年级"`
  65. ClassId int `json:"class_id" label:"班级"`
  66. } `json:"user_identities" label:"身份列表"`
  67. }
  68. type CentralKitchenForSchoolUserDeleteReq struct {
  69. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  70. Uids []int `json:"uids" binding:"required" label:"用户id"`
  71. }
  72. type CentralKitchenForSchoolStudentListReq struct {
  73. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  74. Limit int `json:"limit" binding:"required"`
  75. Page int `json:"page" binding:"required"`
  76. Name string `json:"name" label:"姓名"`
  77. IdNo string `json:"id_no" label:"身份证号"`
  78. Phone string `json:"phone" label:"手机号"`
  79. GradeId int `json:"grade_id" label:"年级id"`
  80. ClassId int `json:"class_id" label:"班级id"`
  81. }
  82. type CentralKitchenForSchoolTeacherListReq struct {
  83. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  84. Limit int `json:"limit" binding:"required"`
  85. Page int `json:"page" binding:"required"`
  86. Name string `json:"name" label:"姓名"`
  87. IdNo string `json:"id_no" label:"身份证号"`
  88. }
  89. type CentralKitchenForSchoolStudentListResp struct {
  90. IdNo string `json:"id_no" label:"身份证号"`
  91. CertType int `json:"cert_type" label:"证件类型"`
  92. ParentPhone string `json:"parent_phone" label:"家长电话"`
  93. Name string `json:"name" label:"姓名"`
  94. Grade string `json:"grade" label:"年级"`
  95. GradeId int `json:"grade_id" label:"年级id"`
  96. Class string `json:"class" label:"班级"`
  97. ClassId int `json:"class_id" label:"班级"`
  98. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  99. }
  100. type CentralKitchenForSchoolTeacherListResp struct {
  101. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  102. IdNo string `json:"id_no" label:"身份证号"`
  103. Phone string `json:"parent_phone" label:"电话"`
  104. Name string `json:"name" label:"姓名"`
  105. }
  106. type CentralKitchenForSchoolTeacherUpdateReq struct {
  107. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  108. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  109. IdNo string `json:"id_no" label:"身份证号"`
  110. CertType int `json:"cert_type" label:"证件类型"`
  111. Name string `json:"name" label:"姓名"`
  112. }
  113. type CentralKitchenForSchoolAddTeacherReq struct {
  114. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  115. Name string `json:"name" label:"名称"`
  116. IdNo string `json:"id_no" label:"身份证号"`
  117. CertType int `json:"cert_type" label:"证件类型"`
  118. }
  119. type CentralKitchenForSchoolStudentUpdateReq struct {
  120. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  121. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  122. IdNo string `json:"id_no" label:"身份证号"`
  123. Name string `json:"name" label:"姓名"`
  124. GradeId int `json:"grade_id" label:"年级id"`
  125. ClassId int `json:"class_id" label:"班级id"`
  126. }
  127. type CentralKitchenForSchoolStudentDeleteReq struct {
  128. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  129. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  130. }
  131. type CentralKitchenForSchoolTeacherDeleteReq struct {
  132. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  133. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  134. }
  135. type CentralKitchenForSchoolStudentAdmissionReq struct {
  136. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  137. ClassId int `json:"class_id" label:"班级id"`
  138. GradeId int `json:"grade_id" label:"年级id"`
  139. }
  140. type SetCentralKitchenForSchoolWithSpecReq struct {
  141. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  142. BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
  143. BreakfastUnitPriceForTeacher string `json:"breakfast_unit_price_for_teacher" binding:"required" label:"教师-早餐-单价"`
  144. BreakfastTeacherNotice string `json:"breakfast_teacher_notice" label:"教师早餐说明"`
  145. LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
  146. LunchUnitPriceForTeacher string `json:"lunch_unit_price_for_teacher" binding:"required" label:"教师-午餐-单价"`
  147. LunchTeacherNotice string `json:"lunch_teacher_notice" label:"教师午餐说明"`
  148. DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
  149. DinnerUnitPriceForTeacher string `json:"dinner_unit_price_for_teacher" binding:"required" label:"教师-晚餐-单价"`
  150. DinnerTeacherNotice string `json:"dinner_teacher_notice" label:"教师早餐说明"`
  151. }
  152. type SetCentralKitchenForSchoolWithSpecByPeriodReq struct {
  153. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  154. List []struct {
  155. PeriodId int `json:"period_id" binding:"required" label:"学段id"`
  156. BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
  157. LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
  158. DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
  159. } `json:"list" binding:"required" label:"日期"`
  160. }
  161. type SetCentralKitchenForSchoolWithSpecByMealLabel struct {
  162. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  163. Kind int32 `json:"kind" binding:"required" label:"餐标类型(1:早餐 2:午餐 3:晚餐) "`
  164. GradeId int `json:"grade_id" binding:"required" label:"年级id"`
  165. MealLabelList []MealLabelList `json:"meal_label_list" label:"餐标集合"`
  166. }
  167. type GetCentralKitchenForSchoolWithSpecByMealLabelReq struct {
  168. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  169. Kind int32 `json:"kind" label:"餐标类型(1:早餐 2:午餐 3:晚餐) "`
  170. Page int `json:"page" label:"页码"`
  171. Limit int `json:"limit" label:"每页数量"`
  172. }
  173. type GetCentralKitchenForSchoolWithSpecByMealLabelResp struct {
  174. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  175. Kind int32 `json:"kind" binding:"required" label:"餐标类型(1:早餐 2:午餐 3:晚餐) "`
  176. List []struct {
  177. GradeId int `json:"grade_id" binding:"required" label:"年级id"`
  178. Name string `json:"name" label:"年级名称"`
  179. MealLabelList []MealLabelList `json:"meal_label_list" label:"餐标集合"`
  180. } `json:"list" binding:"required" label:"数据集合"`
  181. }
  182. type MealLabelList struct {
  183. Id int `json:"id" label:"id"`
  184. Name string `json:"name" binding:"required" label:"餐标名称"`
  185. Price string `json:"price" binding:"required" label:"单价"`
  186. }
  187. type SaveCentralKitchenForSchoolPackageReq struct {
  188. PackageId int `json:"package_id" label:"套餐ID"`
  189. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  190. Year string `json:"year" binding:"required" label:"年份"`
  191. Month string `json:"month" binding:"required" label:"月份"`
  192. StartDate string `json:"start_date" binding:"required" label:"开始时间"`
  193. EndDate string `json:"end_date" binding:"required" label:"截止时间"`
  194. State int `json:"state" label:"状态(1:可用 2:不可用)"`
  195. DateList []struct {
  196. Date string `json:"date"`
  197. IsOpenBreakfast int32 `json:"is_open_breakfast"`
  198. IsOpenLunch int32 `json:"is_open_lunch"`
  199. IsOpenDinner int32 `json:"is_open_dinner"`
  200. IsOpenReplenish int32 `json:"is_open_replenish"`
  201. } `json:"date_list" binding:"required" label:"日期"`
  202. }
  203. type SetBasicCentralKitchenForSchoolReq struct {
  204. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  205. State int32 `json:"state" label:"状态(1:正常 2:冻结)"`
  206. Name string `json:"name" binding:"required" label:"名称"`
  207. IsOpenBreakfast int `json:"is_open_breakfast" label:"是否开启早餐"`
  208. IsOpenLunch int `json:"is_open_lunch" label:"是否开启午餐"`
  209. IsOpenDinner int `json:"is_open_dinner" label:"是否开启晚餐"`
  210. IsOpenBreakfastForTeacher int `json:"is_open_breakfast_for_teacher" label:"是否开启早餐-教师"`
  211. IsOpenLunchForTeacher int `json:"is_open_lunch_for_teacher" label:"是否开启午餐-教师"`
  212. IsOpenDinnerForTeacher int `json:"is_open_dinner_for_teacher" label:"是否开启晚餐-教师"`
  213. IsOpenReportMealForDay int `json:"is_open_report_meal_for_day" label:"开启学生按天报餐(1:开启 2:关闭)"`
  214. IsOpenReportMealForMonth int `json:"is_open_report_meal_for_month" label:"开启学生按月报餐(1:开启 2:关闭)"`
  215. IsOpenReportMealForSemester int `json:"is_open_report_meal_for_semester" label:"开启学生按学期报餐(1:开启 2:关闭)"`
  216. IsOpenTeacherReportMealForDay int `json:"is_open_teacher_report_meal_for_day" label:"开启教师按天报餐(1:开启 2:关闭)"`
  217. IsOpenTeacherReportMealForMonth int `json:"is_open_teacher_report_meal_for_month" label:"开启教师按月报餐(1:开启 2:关闭)"`
  218. IsOpenTeacherReportMealForSemester int `json:"is_open_teacher_report_meal_for_semester" label:"开启教师按学期报餐(1:开启 2:关闭)"`
  219. IsOpenLimitOrderFood int `json:"is_open_limit_order_food" label:"是否开启限制订餐(1:开启 2:关闭)"`
  220. OrderFoodStartDate int `json:"order_food_start_date" label:"订餐时间-起始时间"`
  221. OrderFoodEndDate int `json:"order_food_end_date" label:"订餐时间-截止时间"`
  222. IsOpenLimitTeacherRegister int `json:"is_open_limit_teacher_register" label:"是否开启教师注册(1:开启 2:关闭)"`
  223. IsOpenTeacherReportMeal int `json:"is_open_teacher_report_meal" label:"'教师报餐(1:开启 2:关闭)"`
  224. }
  225. type ListCentralKitchenForSchoolPackageReq struct {
  226. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  227. Page int `json:"page" label:"页码"`
  228. Limit int `json:"limit" label:"每页数量"`
  229. Year string `json:"year" label:"年份"`
  230. Month string `json:"month" label:"月份"`
  231. }
  232. type CentralKitchenForSchoolOrdRefundReq struct {
  233. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  234. Ids []string `json:"ids" label:"ids" binding:"required"`
  235. }
  236. type SelfSupportForSchoolOrdRefundReq struct {
  237. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  238. Ids []string `json:"ids" label:"ids" binding:"required"`
  239. }
  240. type SelfSupportForSchoolOrdPartRefundReq struct {
  241. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  242. Id string `json:"id" label:"id" binding:"required"`
  243. RefundAmount string `json:"refund_amount" label:"退款金额" binding:"required"`
  244. }
  245. type CentralKitchenForSchoolOrdListResp struct {
  246. EnterpriseId int `json:"enterprise_id" `
  247. EnterpriseName string `json:"enterprise_name" `
  248. Uid int `json:"uid" `
  249. UserIdentityId int `json:"user_identity_id" `
  250. UserIdentityKind int `json:"user_identity_kind" `
  251. UserIdentityName string `json:"user_identity_name" `
  252. TotalPrice string `json:"total_price" `
  253. Kind int `json:"kind" `
  254. OutTradeNo string `json:"out_trade_no" `
  255. TradeNo string `json:"trade_no"`
  256. State int `json:"state"`
  257. OrdState int `json:"ord_state"`
  258. PayWay int `json:"pay_way"`
  259. CreateAt string `json:"create_at"`
  260. Phone string `json:"phone" label:"家长联系电话"`
  261. Name string `json:"name" label:"姓名"`
  262. Grade string `json:"grade" label:"年级"`
  263. GradeId int `json:"grade_id" label:"年级id"`
  264. Class string `json:"class" label:"班级"`
  265. ClassId int `json:"class_id" label:"班级id"`
  266. }
  267. type CentralKitchenForSchoolOrdListReq struct {
  268. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  269. IsTeacher int `json:"is_teacher" label:"是否教师"`
  270. Limit int `json:"limit" binding:"required"`
  271. Page int `json:"page" binding:"required"`
  272. Name string `json:"name" label:"姓名"`
  273. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  274. Kind int `json:"kind" label:"预定类型"`
  275. EnterPriseKind int `json:"enterprise_kind" label:"校企类型"`
  276. Sate int `json:"state" label:"支付状态"`
  277. OrdSate int `json:"ord_state" label:"订单状态"`
  278. PayWay int `json:"pay_way" label:"支付方式(1:支付宝 2:微信)"`
  279. GradeId int `json:"grade_id" label:"年级id"`
  280. ClassId int `json:"class_id" label:"班级id"`
  281. Phone string `json:"phone" label:"家长联系电话"`
  282. StartDate string `json:"start_date" label:"开始时间"`
  283. EndDate string `json:"end_date" label:"截止时间"`
  284. }
  285. type CentralKitchenForSchoolReserveListReq struct {
  286. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  287. Limit int `json:"limit" binding:"required"`
  288. Page int `json:"page" binding:"required"`
  289. Name string `json:"name" label:"姓名"`
  290. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  291. Kind int `json:"kind" label:"预定类型"`
  292. EnterPriseKind int `json:"enterprise_kind" label:"校企类型"`
  293. GradeId int `json:"grade_id" label:"年级id"`
  294. ClassId int `json:"class_id" label:"班级id"`
  295. Phone string `json:"phone" label:"家长联系电话"`
  296. StartDate string `json:"start_date" label:"开始时间"`
  297. EndDate string `json:"end_date" label:"截止时间"`
  298. }
  299. type CentralKitchenForSchoolReserveUpdateStudentReq struct {
  300. Id int `json:"id" `
  301. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  302. UserIdentityId int `json:"user_identity_id" `
  303. OriginalUserIdentityId int `json:"original_user_identity_id" `
  304. Uid int `json:"uid" `
  305. }
  306. type CentralKitchenForSchoolReserveListResp struct {
  307. Id int `json:"id" `
  308. EnterpriseId int `json:"enterprise_id" `
  309. EnterpriseName string `json:"enterprise_name" `
  310. Uid int `json:"uid" `
  311. UserIdentityId int `json:"user_identity_id" `
  312. UserIdentityName string `json:"user_identity_name" `
  313. Kind int `json:"kind"`
  314. OutTradeNo string `json:"out_trade_no" `
  315. TradeNo string `json:"trade_no" `
  316. ReserveMonth string `json:"reserve_month"`
  317. TotalPrice string `json:"total_price"`
  318. CreateAt string `json:"create_at"`
  319. State int `json:"state"`
  320. StateZh string `json:"state_zh"`
  321. Phone string `json:"phone" label:"家长联系电话"`
  322. Grade string `json:"grade" label:"年级"`
  323. GradeId int `json:"grade_id" label:"年级id"`
  324. Class string `json:"class" label:"班级"`
  325. ClassId int `json:"class_id" label:"班级id"`
  326. }
  327. type SelfSupportForSchoolUserUpdateReq struct {
  328. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  329. Uid int `json:"uid" binding:"required" label:"用户id"`
  330. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  331. Phone string `json:"phone" binding:"required" label:"手机号"`
  332. BindUserIdentities []struct {
  333. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  334. IdNo string `json:"id_no" label:"身份证号"`
  335. CertType int `json:"cert_type" label:"证件类型"`
  336. Name string `json:"name" label:"姓名"`
  337. GradeId int `json:"grade_id" label:"年级"`
  338. ClassId int `json:"class_id" label:"班级"`
  339. } `json:"user_identities" label:"身份列表"`
  340. }
  341. type SelfSupportForSchoolUserDeleteReq struct {
  342. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  343. Uids []int `json:"uids" binding:"required" label:"用户id"`
  344. }
  345. type SelfSupportForSchoolStudentListReq struct {
  346. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  347. Limit int `json:"limit" binding:"required"`
  348. Page int `json:"page" binding:"required"`
  349. Name string `json:"name" label:"姓名"`
  350. IdNo string `json:"id_no" label:"身份证号"`
  351. Phone string `json:"phone" label:"手机号"`
  352. GradeId int `json:"grade_id" label:"年级id"`
  353. ClassId int `json:"class_id" label:"班级id"`
  354. }
  355. type SelfSupportForSchoolStudentListResp struct {
  356. IdNo string `json:"id_no" label:"证件号"`
  357. CertType int `json:"cert_type" label:"证件类型"`
  358. ParentPhone string `json:"parent_phone" label:"家长电话"`
  359. Name string `json:"name" label:"姓名"`
  360. Grade string `json:"grade" label:"年级"`
  361. GradeId int `json:"grade_id" label:"年级id"`
  362. Class string `json:"class" label:"班级"`
  363. ClassId int `json:"class_id" label:"班级"`
  364. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  365. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
  366. SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
  367. SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
  368. }
  369. type SelfSupportForSchoolTeacherListReq struct {
  370. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  371. Limit int `json:"limit" binding:"required"`
  372. Page int `json:"page" binding:"required"`
  373. Name string `json:"name" label:"姓名"`
  374. IdNo string `json:"id_no" label:"身份证号"`
  375. }
  376. type SelfSupportForSchoolTeacherListResp struct {
  377. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  378. IdNo string `json:"id_no" label:"身份证号"`
  379. CertType int `json:"cert_type" label:"证件类型"`
  380. Phone string `json:"parent_phone" label:"电话"`
  381. Name string `json:"name" label:"姓名"`
  382. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
  383. SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
  384. SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
  385. }
  386. type SelfSupportForSchoolStudentUpdateReq struct {
  387. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  388. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  389. IdNo string `json:"id_no" label:"身份证号"`
  390. CertType int `json:"cert_type" label:"证件类型(1:身份证 2:学工号 3:护照)"`
  391. Name string `json:"name" label:"姓名"`
  392. GradeId int `json:"grade_id" label:"年级id"`
  393. ClassId int `json:"class_id" label:"班级id"`
  394. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
  395. }
  396. type SelfSupportForSchoolStudentAddReq struct {
  397. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  398. IdNo string `json:"id_no" label:"身份证号"`
  399. CertType int `json:"cert_type" label:"证件类型(1:身份证 2:学工号 3:护照)"`
  400. Name string `json:"name" label:"姓名"`
  401. GradeId int `json:"grade_id" label:"年级id"`
  402. ClassId int `json:"class_id" label:"班级id"`
  403. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
  404. }
  405. type SelfSupportForSchoolStudentDeleteReq struct {
  406. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  407. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  408. }
  409. type SelfSupportForSchoolStudentAdmissionReq struct {
  410. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  411. ClassId int `json:"class_id" label:"班级id"`
  412. GradeId int `json:"grade_id" label:"年级id"`
  413. }
  414. type SelfSupportForSchoolTeacherUpdateReq struct {
  415. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  416. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  417. IdNo string `json:"id_no" label:"身份证号"`
  418. CertType int `json:"cert_type" label:"证件类型"`
  419. Name string `json:"name" label:"姓名"`
  420. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
  421. }
  422. type SelfSupportForSchoolTeacherDeleteReq struct {
  423. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  424. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  425. }
  426. type SelfSupportForSchoolWorkerListReq struct {
  427. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  428. Limit int `json:"limit" binding:"required"`
  429. Page int `json:"page" binding:"required"`
  430. Name string `json:"name" label:"姓名"`
  431. IdNo string `json:"id_no" label:"身份证号"`
  432. }
  433. type SelfSupportForSchoolWorkerListResp struct {
  434. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  435. IdNo string `json:"id_no" label:"身份证号"`
  436. CertType int `json:"cert_type" label:"证件类型"`
  437. Phone string `json:"parent_phone" label:"电话"`
  438. Name string `json:"name" label:"姓名"`
  439. CreateAt string `json:"create_at" label:"创建时间"`
  440. }
  441. type SelfSupportForSchoolWorkerUpdateReq struct {
  442. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  443. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  444. IdNo string `json:"id_no" label:"身份证号"`
  445. Name string `json:"name" label:"姓名"`
  446. }
  447. type SelfSupportForSchoolWorkerDeleteReq struct {
  448. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  449. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  450. }
  451. type CentralKitchenForSchoolGradeListReq struct {
  452. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  453. Limit int `json:"limit" binding:"required"`
  454. Page int `json:"page" binding:"required"`
  455. Name string `json:"name" label:"名称"`
  456. }
  457. type CentralKitchenForSchoolMenuListReq struct {
  458. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  459. Limit int `json:"limit" binding:"required"`
  460. Page int `json:"page" binding:"required"`
  461. StartDate string `json:"start_date" label:"起始时间"`
  462. EndDate string `json:"end_date" label:"截止时间"`
  463. }
  464. type CentralKitchenForSchoolMenuAddReq struct {
  465. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  466. Content string `json:"content" binding:"required" label:"内容"`
  467. StartDate string `json:"start_date" binding:"required" label:"起始时间"`
  468. EndDate string `json:"end_date" binding:"required" label:"截止时间"`
  469. Memo string `json:"memo" label:"备注"`
  470. }
  471. type CentralKitchenForSchoolMenuSaveReq struct {
  472. Id int `json:"id" binding:"required" label:"记录id"`
  473. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  474. Content string `json:"content" binding:"required" label:"内容"`
  475. StartDate string `json:"start_date" binding:"required" label:"起始时间"`
  476. EndDate string `json:"end_date" binding:"required" label:"截止时间"`
  477. Memo string `json:"memo" label:"备注"`
  478. }
  479. type CentralKitchenForSchoolMenuDeleteReq struct {
  480. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  481. Ids []int `json:"ids" binding:"required" label:"记录id"`
  482. }
  483. type CentralKitchenForSchoolPeriodListReq struct {
  484. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  485. Limit int `json:"limit" binding:"required"`
  486. Page int `json:"page" binding:"required"`
  487. Name string `json:"name" label:"名称"`
  488. }
  489. type CentralKitchenForSchoolClassListReq struct {
  490. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  491. GradeId int `json:"grade_id" label:"年级id"`
  492. Limit int `json:"limit" binding:"required"`
  493. Page int `json:"page" binding:"required"`
  494. Name string `json:"name" label:"名称"`
  495. }
  496. type SelfSupportForSchoolGradeListReq struct {
  497. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  498. Limit int `json:"limit" binding:"required"`
  499. Page int `json:"page" binding:"required"`
  500. Name string `json:"name" label:"名称"`
  501. }
  502. type SelfSupportForSchoolPeriodListReq struct {
  503. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  504. Limit int `json:"limit" binding:"required"`
  505. Page int `json:"page" binding:"required"`
  506. Name string `json:"name" label:"名称"`
  507. }
  508. type SelfSupportForSchoolClassListReq struct {
  509. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  510. GradeId int `json:"grade_id" label:"年级id"`
  511. Limit int `json:"limit" binding:"required"`
  512. Page int `json:"page" binding:"required"`
  513. Name string `json:"name" label:"名称"`
  514. }
  515. type SelfSupportForSchoolAddWorkerReq struct {
  516. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  517. Name string `json:"name" label:"名称"`
  518. IdNo string `json:"id_no" label:"身份证号"`
  519. }
  520. type SelfSupportForSchoolAddTeacherReq struct {
  521. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  522. Name string `json:"name" label:"名称"`
  523. IdNo string `json:"id_no" label:"身份证号"`
  524. CertType int `json:"cert_type" label:"证件类型"`
  525. }
  526. type SelfSupportForSchoolOrdListReq struct {
  527. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  528. EnterpriseKind int `json:"enterprise_kind" label:"校企类型"`
  529. Limit int `json:"limit" binding:"required"`
  530. Page int `json:"page" binding:"required"`
  531. Name string `json:"name" label:"姓名"`
  532. Phone string `json:"phone" label:"用户电话"`
  533. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  534. OrderStatus int `json:"order_status" label:"订单状态"`
  535. GradeId int `json:"grade_id" label:"年级id"`
  536. ClassId int `json:"class_id" label:"班级id"`
  537. StartDate string `json:"start_date" label:"刷脸-开始时间"`
  538. EndDate string `json:"end_date" label:"刷脸-截止时间"`
  539. IsTeacher int `json:"is_teacher" label:"是否教师"`
  540. }
  541. type SelfSupportForSchoolConsumeLimitReq struct {
  542. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  543. DailyConsumeLimit string `json:"daily_consume_limit" label:"单日金额上限"`
  544. SingleConsumeLimit string `json:"single_consume_limit" label:"单笔金额上限"`
  545. DailyMaxConsumeTimes string `json:"daily_max_consume_times" label:"单日最大消费次数"`
  546. RosterPeriodConsumeLimitConfigList []RosterPeriodConsumeLimitConfig `json:"roster_period_consume_limit_config_list" label:"餐段设置"`
  547. }
  548. type RosterPeriodConsumeLimitConfig struct {
  549. PeriodDesc string `json:"period_desc" label:"餐段时间描述"`
  550. StartTime string `json:"start_time" label:"餐段开始时间,格式为:xx:xx"`
  551. EndTime string `json:"end_time" label:"餐段结束时间,格式为:xx:xx"`
  552. MaxConsumeTimes int `json:"max_consume_times" label:"餐段内最大消费次数,默认值1,最大9"`
  553. }
  554. type SelfSupportForSchoolConsumeLimitListReq struct {
  555. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  556. EnterpriseKind int `json:"enterprise_kind" label:"企业类型"`
  557. Limit int `json:"limit" binding:"required"`
  558. Page int `json:"page" binding:"required"`
  559. Name string `json:"name" label:"姓名"`
  560. GradeId int `json:"grade_id" label:"年级id"`
  561. ClassId int `json:"class_id" label:"班级id"`
  562. Phone string `json:"phone" label:"用户电话"`
  563. DailyConsumeLimit string `json:"daily_consume_limit" label:"单日金额上限"`
  564. SingleConsumeLimit string `json:"single_consume_limit" label:"单笔金额上限"`
  565. DailyMaxConsumeTimes string `json:"daily_max_consume_times" label:"单日最大消费次数"`
  566. IsTeacher int `json:"is_teacher" label:"是否教师"`
  567. }
  568. type SelfSupportForSchoolConsumeLimitListResp struct {
  569. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  570. Name string `json:"name" label:"姓名"`
  571. GradeId int `json:"grade_id" label:"年级id"`
  572. GradeName string `json:"grade_name" label:"年级名称"`
  573. ClassId int `json:"class_id" label:"班级id"`
  574. ClassName string `json:"class_name" label:"班级名称"`
  575. Phone string `json:"phone" label:"用户电话"`
  576. DailyConsumeLimit string `json:"daily_consume_limit" label:"单日金额上限"`
  577. SingleConsumeLimit string `json:"single_consume_limit" label:"单笔金额上限"`
  578. DailyMaxConsumeTimes string `json:"daily_max_consume_times" label:"单日最大消费次数"`
  579. RosterPeriodConsumeLimitConfigList []RosterPeriodConsumeLimitConfig `json:"roster_period_consume_limit_config_list" label:"餐段设置"`
  580. }
  581. type SelfSupportForSchoolArrearsOrdListReq struct {
  582. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  583. EnterpriseKind int `json:"enterprise_kind" label:"企业类型"`
  584. Limit int `json:"limit" binding:"required"`
  585. Page int `json:"page" binding:"required"`
  586. Name string `json:"name" label:"姓名"`
  587. Phone string `json:"phone" label:"用户电话"`
  588. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  589. GradeId int `json:"grade_id" label:"年级id"`
  590. ClassId int `json:"class_id" label:"班级id"`
  591. StartDate string `json:"start_date" label:"刷脸-开始时间"`
  592. EndDate string `json:"end_date" label:"刷脸-截止时间"`
  593. IsTeacher int `json:"is_teacher" label:"是否教师"`
  594. }
  595. type SelfSupportForSchoolBlackListReq struct {
  596. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  597. Limit int `json:"limit" binding:"required"`
  598. Page int `json:"page" binding:"required"`
  599. }
  600. type SelfSupportForSchoolArrearsOrdDebtRepayReq struct {
  601. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  602. OutOrderNo string `json:"out_order_no"`
  603. MerchantCode string `json:"merchant_code" `
  604. }
  605. type SelfSupportForSchoolArrearsOrdDebtCancelReq struct {
  606. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  607. OutOrderNo string `json:"out_order_no"`
  608. MerchantCode string `json:"merchant_code" `
  609. }
  610. type SelfSupportForSchoolOrdListResp struct {
  611. Id int `json:"id" `
  612. EnterpriseId int `json:"enterprise_id" `
  613. EnterpriseName string `json:"enterprise_name" `
  614. Uid int `json:"uid" `
  615. UserIdentityId int `json:"user_identity_id" `
  616. UserIdentityName string `json:"user_identity_name" `
  617. TotalPrice string `json:"total_price" `
  618. RefundAmount string `json:"refund_amount" `
  619. OutTradeNo string `json:"out_trade_no" `
  620. TradeNo string `json:"trade_no"`
  621. OrderStatus int `json:"order_status"`
  622. Phone string `json:"phone"`
  623. FaceTime string `json:"face_time"`
  624. PayTime string `json:"pay_time"`
  625. Name string `json:"name" label:"姓名"`
  626. Grade string `json:"grade" label:"年级"`
  627. GradeId int `json:"grade_id" label:"年级id"`
  628. Class string `json:"class" label:"班级"`
  629. ClassId int `json:"class_id" label:"班级id"`
  630. DeviceSn string `json:"device_sn" label:"设备编号"`
  631. ShopName string `json:"shop_name" label:"消费档口"`
  632. CpMerchantId string `json:"cp_merchant_id" label:"商户编码"`
  633. DebtBusinessMsg string `json:"debt_business_msg" label:"欠款原因"`
  634. }
  635. type CentralKitchenForSchoolBatchAskForLeaveReqBySchool struct {
  636. EnterpriseIds []int `json:"enterprise_ids" binding:"required" label:"企业id"`
  637. IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
  638. IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
  639. IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
  640. Dates []string `json:"dates"`
  641. }
  642. type CentralKitchenForSchoolBatchAskForLeaveReqByGrade struct {
  643. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  644. GradeIds []int `json:"grade_ids" binding:"required" label:"年级id"`
  645. IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
  646. IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
  647. IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
  648. Dates []string `json:"dates"`
  649. }
  650. type CentralKitchenForSchoolBatchAskForLeaveReqByClass struct {
  651. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  652. GradeId int `json:"grade_id" binding:"required" label:"年级id"`
  653. ClassIds []int `json:"class_ids" label:"班级id"`
  654. IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
  655. IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
  656. IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
  657. Dates []string `json:"dates"`
  658. }
  659. type ListNursingHomePackageReq struct {
  660. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  661. Page int `json:"page" label:"页码"`
  662. Limit int `json:"limit" label:"每页数量"`
  663. Year string `json:"year" label:"年份"`
  664. Month string `json:"month" label:"月份"`
  665. }
  666. type EnterpriseUserListByNursingHomeResp struct {
  667. List []EnterpriseUserListByNursingHomeStruct `json:"list"`
  668. Total int64 `json:"total"`
  669. }
  670. type EnterpriseUserListByNursingHomeStruct struct {
  671. Id int `json:"id" label:"支付宝昵称"`
  672. Nickname string `json:"nickname" label:"支付宝昵称"`
  673. Phone string `json:"phone" label:"手机号"`
  674. Avatar string `json:"avatar" label:"头像"`
  675. CreateAt string `json:"create_at" label:"创建时间"`
  676. UserIdentities []struct {
  677. Id int `json:"id" label:"身份id"`
  678. IdNo string `json:"id_no" label:"身份证号"`
  679. EnterpriseName string `json:"enterprise_name" label:"单位名"`
  680. Name string `json:"name" label:"姓名"`
  681. } `json:"user_identities" label:"身份列表"`
  682. }
  683. type NursingHomeUserUpdateReq struct {
  684. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  685. Uid int `json:"uid" binding:"required" label:"用户id"`
  686. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  687. Phone string `json:"phone" binding:"required" label:"手机号"`
  688. BindUserIdentities []struct {
  689. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  690. IdNo string `json:"id_no" label:"身份证号"`
  691. Name string `json:"name" label:"姓名"`
  692. } `json:"user_identities" label:"身份列表"`
  693. }
  694. type NursingHomeOrdListReq struct {
  695. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  696. Limit int `json:"limit" binding:"required"`
  697. Page int `json:"page" binding:"required"`
  698. Name string `json:"name" label:"姓名"`
  699. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  700. Kind int `json:"kind" label:"预定类型"`
  701. Sate int `json:"state" label:"支付状态"`
  702. OrdSate int `json:"ord_state" label:"订单状态"`
  703. Phone string `json:"phone" label:"家长联系电话"`
  704. StartDate string `json:"start_date" label:"开始时间"`
  705. EndDate string `json:"end_date" label:"截止时间"`
  706. }
  707. type NursingHomeOrdListResp struct {
  708. EnterpriseId int `json:"enterprise_id" `
  709. EnterpriseName string `json:"enterprise_name" `
  710. Uid int `json:"uid" `
  711. UserIdentityId int `json:"user_identity_id" `
  712. UserIdentityKind int `json:"user_identity_kind" `
  713. UserIdentityName string `json:"user_identity_name" `
  714. TotalPrice string `json:"total_price" `
  715. Kind int `json:"kind" `
  716. OutTradeNo string `json:"out_trade_no" `
  717. TradeNo string `json:"trade_no"`
  718. State int `json:"state"`
  719. OrdState int `json:"ord_state"`
  720. CreateAt string `json:"create_at"`
  721. Phone string `json:"phone" label:"家长联系电话"`
  722. Name string `json:"name" label:"姓名"`
  723. }
  724. type NursingHomeReserveListReq struct {
  725. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  726. Limit int `json:"limit" binding:"required"`
  727. Page int `json:"page" binding:"required"`
  728. Name string `json:"name" label:"姓名"`
  729. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  730. Kind int `json:"kind" label:"预定类型"`
  731. Phone string `json:"phone" label:"家长联系电话"`
  732. StartDate string `json:"start_date" label:"开始时间"`
  733. EndDate string `json:"end_date" label:"截止时间"`
  734. }
  735. type NursingHomeReserveListResp struct {
  736. Id int `json:"id" `
  737. EnterpriseId int `json:"enterprise_id" `
  738. EnterpriseName string `json:"enterprise_name" `
  739. Uid int `json:"uid" `
  740. UserIdentityId int `json:"user_identity_id" `
  741. UserIdentityName string `json:"user_identity_name" `
  742. Kind int `json:"kind"`
  743. OutTradeNo string `json:"out_trade_no" `
  744. ReserveMonth string `json:"reserve_month"`
  745. CreateAt string `json:"create_at"`
  746. Phone string `json:"phone" label:"家长联系电话"`
  747. }
  748. type NursingHomeOrdRefundReq struct {
  749. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  750. Ids []string `json:"ids" label:"ids" binding:"required"`
  751. }
  752. type NursingHomeUserDeleteReq struct {
  753. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  754. Uids []int `json:"uids" binding:"required" label:"用户id"`
  755. }
  756. type SetBasicNursingHomeReq struct {
  757. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  758. State int32 `json:"state" label:"状态(1:正常 2:冻结)"`
  759. Name string `json:"name" binding:"required" label:"名称"`
  760. IsOpenBreakfast int `json:"is_open_breakfast" label:"是否开启早餐"`
  761. IsOpenLunch int `json:"is_open_lunch" label:"是否开启午餐"`
  762. IsOpenDinner int `json:"is_open_dinner" label:"是否开启晚餐"`
  763. IsOpenReportMealForDay int `json:"is_open_report_meal_for_day" label:"开启按天报餐(1:开启 2:关闭)"`
  764. IsOpenReportMealForMonth int `json:"is_open_report_meal_for_month" label:"开启按月报餐(1:开启 2:关闭)"`
  765. IsOpenReportMealForYear int `json:"is_open_report_meal_for_year" label:"开启按年报餐(1:开启 2:关闭)"`
  766. }
  767. type SetNursingHomeWithSpecReq struct {
  768. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  769. BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
  770. LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
  771. DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
  772. }
  773. type SaveNursingHomePackageReq struct {
  774. PackageId int `json:"package_id" label:"套餐ID"`
  775. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  776. Year string `json:"year" binding:"required" label:"年份"`
  777. Month string `json:"month" binding:"required" label:"月份"`
  778. StartDate string `json:"start_date" binding:"required" label:"开始时间"`
  779. EndDate string `json:"end_date" binding:"required" label:"截止时间"`
  780. State int `json:"state" label:"状态(1:可用 2:不可用)"`
  781. DateList []struct {
  782. Date string `json:"date"`
  783. IsOpenBreakfast int32 `json:"is_open_breakfast"`
  784. IsOpenLunch int32 `json:"is_open_lunch"`
  785. IsOpenDinner int32 `json:"is_open_dinner"`
  786. IsOpenReplenish int32 `json:"is_open_replenish"`
  787. } `json:"date_list" binding:"required" label:"日期"`
  788. }
  789. type CentralKitchenForSchoolWxTransferOrdListReq struct {
  790. Phone string `json:"phone" label:"家长联系电话"`
  791. Limit int `json:"limit" binding:"required"`
  792. Page int `json:"page" binding:"required"`
  793. StartAmount string `json:"start_amount" `
  794. EndAmount string `json:"end_amount" `
  795. StartDate string `json:"start_date" label:"开始时间"`
  796. EndDate string `json:"end_date" label:"截止时间"`
  797. }
  798. type CentralKitchenForSchoolWxTransferReq struct {
  799. Uids []int `json:"uids" binding:"required"`
  800. Amount string `json:"amount" `
  801. BatchRemark string `json:"batch_remark" `
  802. }