智慧食堂
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

693 wiersze
34 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. SchoolName string `json:"school_name" label:"学校名"`
  26. Name string `json:"name" label:"姓名"`
  27. Grade string `json:"grade" label:"年级"`
  28. GradeId int `json:"grade_id" label:"年级id"`
  29. Class string `json:"class" label:"班级"`
  30. ClassId int `json:"class_id" label:"班级id"`
  31. } `json:"user_identities" label:"身份列表"`
  32. }
  33. type EnterpriseUserListByCentralKitchenForSchoolResp struct {
  34. List []EnterpriseUserListByCentralKitchenForSchoolStruct `json:"list"`
  35. Total int64 `json:"total"`
  36. UserIdentityKindList interface{} `json:"user_identity_kind_list"`
  37. }
  38. type CentralKitchenForSchoolUserUpdateReq struct {
  39. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  40. Uid int `json:"uid" binding:"required" label:"用户id"`
  41. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  42. Phone string `json:"phone" binding:"required" label:"手机号"`
  43. BindUserIdentities []struct {
  44. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  45. IdNo string `json:"id_no" label:"身份证号"`
  46. Name string `json:"name" label:"姓名"`
  47. GradeId int `json:"grade_id" label:"年级"`
  48. ClassId int `json:"class_id" label:"班级"`
  49. } `json:"user_identities" label:"身份列表"`
  50. }
  51. type CentralKitchenForSchoolUserUpdateReqV2 struct {
  52. Uid int `json:"uid" binding:"required" label:"用户id"`
  53. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  54. Phone string `json:"phone" binding:"required" label:"手机号"`
  55. BindUserIdentities []struct {
  56. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  57. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  58. IdNo string `json:"id_no" label:"身份证号"`
  59. Name string `json:"name" label:"姓名"`
  60. GradeId int `json:"grade_id" label:"年级"`
  61. ClassId int `json:"class_id" label:"班级"`
  62. } `json:"user_identities" label:"身份列表"`
  63. }
  64. type CentralKitchenForSchoolUserDeleteReq struct {
  65. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  66. Uids []int `json:"uids" binding:"required" label:"用户id"`
  67. }
  68. type CentralKitchenForSchoolStudentListReq struct {
  69. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  70. Limit int `json:"limit" binding:"required"`
  71. Page int `json:"page" binding:"required"`
  72. Name string `json:"name" label:"姓名"`
  73. IdNo string `json:"id_no" label:"身份证号"`
  74. Phone string `json:"phone" label:"手机号"`
  75. GradeId int `json:"grade_id" label:"年级id"`
  76. ClassId int `json:"class_id" label:"班级id"`
  77. }
  78. type CentralKitchenForSchoolTeacherListReq struct {
  79. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  80. Limit int `json:"limit" binding:"required"`
  81. Page int `json:"page" binding:"required"`
  82. Name string `json:"name" label:"姓名"`
  83. IdNo string `json:"id_no" label:"身份证号"`
  84. }
  85. type CentralKitchenForSchoolStudentListResp struct {
  86. IdNo string `json:"id_no" label:"身份证号"`
  87. ParentPhone string `json:"parent_phone" label:"家长电话"`
  88. Name string `json:"name" label:"姓名"`
  89. Grade string `json:"grade" label:"年级"`
  90. GradeId int `json:"grade_id" label:"年级id"`
  91. Class string `json:"class" label:"班级"`
  92. ClassId int `json:"class_id" label:"班级"`
  93. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  94. }
  95. type CentralKitchenForSchoolTeacherListResp struct {
  96. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  97. IdNo string `json:"id_no" label:"身份证号"`
  98. Phone string `json:"parent_phone" label:"电话"`
  99. Name string `json:"name" label:"姓名"`
  100. }
  101. type CentralKitchenForSchoolTeacherUpdateReq struct {
  102. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  103. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  104. IdNo string `json:"id_no" label:"身份证号"`
  105. Name string `json:"name" label:"姓名"`
  106. }
  107. type CentralKitchenForSchoolStudentUpdateReq struct {
  108. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  109. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  110. IdNo string `json:"id_no" label:"身份证号"`
  111. Name string `json:"name" label:"姓名"`
  112. GradeId int `json:"grade_id" label:"年级id"`
  113. ClassId int `json:"class_id" label:"班级id"`
  114. }
  115. type CentralKitchenForSchoolStudentDeleteReq struct {
  116. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  117. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  118. }
  119. type CentralKitchenForSchoolTeacherDeleteReq struct {
  120. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  121. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  122. }
  123. type CentralKitchenForSchoolStudentAdmissionReq struct {
  124. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  125. ClassId int `json:"class_id" label:"班级id"`
  126. GradeId int `json:"grade_id" label:"年级id"`
  127. }
  128. type SetCentralKitchenForSchoolWithSpecReq struct {
  129. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  130. BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
  131. BreakfastUnitPriceForTeacher string `json:"breakfast_unit_price_for_teacher" binding:"required" label:"教师-早餐-单价"`
  132. LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
  133. LunchUnitPriceForTeacher string `json:"lunch_unit_price_for_teacher" binding:"required" label:"教师-午餐-单价"`
  134. DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
  135. DinnerUnitPriceForTeacher string `json:"dinner_unit_price_for_teacher" binding:"required" label:"教师-晚餐-单价"`
  136. }
  137. type SetCentralKitchenForSchoolWithSpecByPeriodReq struct {
  138. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  139. List []struct {
  140. PeriodId int `json:"period_id" binding:"required" label:"学段id"`
  141. BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
  142. LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
  143. DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
  144. } `json:"list" binding:"required" label:"日期"`
  145. }
  146. type SaveCentralKitchenForSchoolPackageReq struct {
  147. PackageId int `json:"package_id" label:"套餐ID"`
  148. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  149. Year string `json:"year" binding:"required" label:"年份"`
  150. Month string `json:"month" binding:"required" label:"月份"`
  151. StartDate string `json:"start_date" binding:"required" label:"开始时间"`
  152. EndDate string `json:"end_date" binding:"required" label:"截止时间"`
  153. State int `json:"state" label:"状态(1:可用 2:不可用)"`
  154. DateList []struct {
  155. Date string `json:"date"`
  156. IsOpenBreakfast int32 `json:"is_open_breakfast"`
  157. IsOpenLunch int32 `json:"is_open_lunch"`
  158. IsOpenDinner int32 `json:"is_open_dinner"`
  159. IsOpenReplenish int32 `json:"is_open_replenish"`
  160. } `json:"date_list" binding:"required" label:"日期"`
  161. }
  162. type SetBasicCentralKitchenForSchoolReq struct {
  163. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  164. State int32 `json:"state" label:"状态(1:正常 2:冻结)"`
  165. Name string `json:"name" binding:"required" label:"名称"`
  166. IsOpenBreakfast int `json:"is_open_breakfast" label:"是否开启早餐"`
  167. IsOpenLunch int `json:"is_open_lunch" label:"是否开启午餐"`
  168. IsOpenDinner int `json:"is_open_dinner" label:"是否开启晚餐"`
  169. IsOpenReportMealForDay int `json:"is_open_report_meal_for_day" label:"开启学生按天报餐(1:开启 2:关闭)"`
  170. IsOpenReportMealForMonth int `json:"is_open_report_meal_for_month" label:"开启学生按月报餐(1:开启 2:关闭)"`
  171. IsOpenReportMealForSemester int `json:"is_open_report_meal_for_semester" label:"开启学生按学期报餐(1:开启 2:关闭)"`
  172. IsOpenTeacherReportMealForDay int `json:"is_open_teacher_report_meal_for_day" label:"开启教师按天报餐(1:开启 2:关闭)"`
  173. IsOpenTeacherReportMealForMonth int `json:"is_open_teacher_report_meal_for_month" label:"开启教师按月报餐(1:开启 2:关闭)"`
  174. IsOpenTeacherReportMealForSemester int `json:"is_open_teacher_report_meal_for_semester" label:"开启教师按学期报餐(1:开启 2:关闭)"`
  175. IsOpenTeacherReportMeal int `json:"is_open_teacher_report_meal" label:"'教师报餐(1:开启 2:关闭)"`
  176. }
  177. type ListCentralKitchenForSchoolPackageReq struct {
  178. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  179. Page int `json:"page" label:"页码"`
  180. Limit int `json:"limit" label:"每页数量"`
  181. Year string `json:"year" label:"年份"`
  182. Month string `json:"month" label:"月份"`
  183. }
  184. type CentralKitchenForSchoolOrdRefundReq struct {
  185. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  186. Ids []string `json:"ids" label:"ids" binding:"required"`
  187. }
  188. type CentralKitchenForSchoolOrdListResp struct {
  189. EnterpriseId int `json:"enterprise_id" `
  190. EnterpriseName string `json:"enterprise_name" `
  191. Uid int `json:"uid" `
  192. UserIdentityId int `json:"user_identity_id" `
  193. UserIdentityKind int `json:"user_identity_kind" `
  194. UserIdentityName string `json:"user_identity_name" `
  195. TotalPrice string `json:"total_price" `
  196. Kind int `json:"kind" `
  197. OutTradeNo string `json:"out_trade_no" `
  198. TradeNo string `json:"trade_no"`
  199. State int `json:"state"`
  200. OrdState int `json:"ord_state"`
  201. CreateAt string `json:"create_at"`
  202. Phone string `json:"phone" label:"家长联系电话"`
  203. Name string `json:"name" label:"姓名"`
  204. Grade string `json:"grade" label:"年级"`
  205. GradeId int `json:"grade_id" label:"年级id"`
  206. Class string `json:"class" label:"班级"`
  207. ClassId int `json:"class_id" label:"班级id"`
  208. }
  209. type CentralKitchenForSchoolOrdListReq struct {
  210. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  211. IsTeacher int `json:"is_teacher" label:"是否教师"`
  212. Limit int `json:"limit" binding:"required"`
  213. Page int `json:"page" binding:"required"`
  214. Name string `json:"name" label:"姓名"`
  215. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  216. Kind int `json:"kind" label:"预定类型"`
  217. Sate int `json:"state" label:"支付状态"`
  218. OrdSate int `json:"ord_state" label:"订单状态"`
  219. GradeId int `json:"grade_id" label:"年级id"`
  220. ClassId int `json:"class_id" label:"班级id"`
  221. Phone string `json:"phone" label:"家长联系电话"`
  222. StartDate string `json:"start_date" label:"开始时间"`
  223. EndDate string `json:"end_date" label:"截止时间"`
  224. }
  225. type CentralKitchenForSchoolReserveListReq struct {
  226. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  227. Limit int `json:"limit" binding:"required"`
  228. Page int `json:"page" binding:"required"`
  229. Name string `json:"name" label:"姓名"`
  230. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  231. Kind int `json:"kind" label:"预定类型"`
  232. GradeId int `json:"grade_id" label:"年级id"`
  233. ClassId int `json:"class_id" label:"班级id"`
  234. Phone string `json:"phone" label:"家长联系电话"`
  235. StartDate string `json:"start_date" label:"开始时间"`
  236. EndDate string `json:"end_date" label:"截止时间"`
  237. }
  238. type CentralKitchenForSchoolReserveUpdateStudentReq struct {
  239. Id int `json:"id" `
  240. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  241. UserIdentityId int `json:"user_identity_id" `
  242. OriginalUserIdentityId int `json:"original_user_identity_id" `
  243. Uid int `json:"uid" `
  244. }
  245. type CentralKitchenForSchoolReserveListResp struct {
  246. Id int `json:"id" `
  247. EnterpriseId int `json:"enterprise_id" `
  248. EnterpriseName string `json:"enterprise_name" `
  249. Uid int `json:"uid" `
  250. UserIdentityId int `json:"user_identity_id" `
  251. UserIdentityName string `json:"user_identity_name" `
  252. Kind int `json:"kind"`
  253. OutTradeNo string `json:"out_trade_no" `
  254. ReserveMonth string `json:"reserve_month"`
  255. TotalPrice string `json:"total_price"`
  256. CreateAt string `json:"create_at"`
  257. Phone string `json:"phone" label:"家长联系电话"`
  258. Grade string `json:"grade" label:"年级"`
  259. GradeId int `json:"grade_id" label:"年级id"`
  260. Class string `json:"class" label:"班级"`
  261. ClassId int `json:"class_id" label:"班级id"`
  262. }
  263. type SelfSupportForSchoolUserUpdateReq struct {
  264. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  265. Uid int `json:"uid" binding:"required" label:"用户id"`
  266. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  267. Phone string `json:"phone" binding:"required" label:"手机号"`
  268. BindUserIdentities []struct {
  269. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  270. IdNo string `json:"id_no" label:"身份证号"`
  271. Name string `json:"name" label:"姓名"`
  272. GradeId int `json:"grade_id" label:"年级"`
  273. ClassId int `json:"class_id" label:"班级"`
  274. } `json:"user_identities" label:"身份列表"`
  275. }
  276. type SelfSupportForSchoolUserDeleteReq struct {
  277. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  278. Uids []int `json:"uids" binding:"required" label:"用户id"`
  279. }
  280. type SelfSupportForSchoolStudentListReq struct {
  281. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  282. Limit int `json:"limit" binding:"required"`
  283. Page int `json:"page" binding:"required"`
  284. Name string `json:"name" label:"姓名"`
  285. IdNo string `json:"id_no" label:"身份证号"`
  286. Phone string `json:"phone" label:"手机号"`
  287. GradeId int `json:"grade_id" label:"年级id"`
  288. ClassId int `json:"class_id" label:"班级id"`
  289. }
  290. type SelfSupportForSchoolStudentListResp struct {
  291. IdNo string `json:"id_no" label:"身份证号"`
  292. ParentPhone string `json:"parent_phone" label:"家长电话"`
  293. Name string `json:"name" label:"姓名"`
  294. Grade string `json:"grade" label:"年级"`
  295. GradeId int `json:"grade_id" label:"年级id"`
  296. Class string `json:"class" label:"班级"`
  297. ClassId int `json:"class_id" label:"班级"`
  298. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  299. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
  300. SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
  301. SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
  302. }
  303. type SelfSupportForSchoolTeacherListReq struct {
  304. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  305. Limit int `json:"limit" binding:"required"`
  306. Page int `json:"page" binding:"required"`
  307. Name string `json:"name" label:"姓名"`
  308. IdNo string `json:"id_no" label:"身份证号"`
  309. }
  310. type SelfSupportForSchoolTeacherListResp struct {
  311. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  312. IdNo string `json:"id_no" label:"身份证号"`
  313. Phone string `json:"parent_phone" label:"电话"`
  314. Name string `json:"name" label:"姓名"`
  315. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
  316. SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
  317. SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
  318. }
  319. type SelfSupportForSchoolStudentUpdateReq struct {
  320. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  321. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  322. IdNo string `json:"id_no" label:"身份证号"`
  323. Name string `json:"name" label:"姓名"`
  324. GradeId int `json:"grade_id" label:"年级id"`
  325. ClassId int `json:"class_id" label:"班级id"`
  326. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
  327. }
  328. type SelfSupportForSchoolStudentDeleteReq struct {
  329. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  330. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  331. }
  332. type SelfSupportForSchoolStudentAdmissionReq struct {
  333. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  334. ClassId int `json:"class_id" label:"班级id"`
  335. GradeId int `json:"grade_id" label:"年级id"`
  336. }
  337. type SelfSupportForSchoolTeacherUpdateReq struct {
  338. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  339. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  340. IdNo string `json:"id_no" label:"身份证号"`
  341. Name string `json:"name" label:"姓名"`
  342. CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
  343. }
  344. type SelfSupportForSchoolTeacherDeleteReq struct {
  345. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  346. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  347. }
  348. type SelfSupportForSchoolWorkerListReq struct {
  349. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  350. Limit int `json:"limit" binding:"required"`
  351. Page int `json:"page" binding:"required"`
  352. Name string `json:"name" label:"姓名"`
  353. IdNo string `json:"id_no" label:"身份证号"`
  354. }
  355. type SelfSupportForSchoolWorkerListResp struct {
  356. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  357. IdNo string `json:"id_no" label:"身份证号"`
  358. Phone string `json:"parent_phone" label:"电话"`
  359. Name string `json:"name" label:"姓名"`
  360. CreateAt string `json:"create_at" label:"创建时间"`
  361. }
  362. type SelfSupportForSchoolWorkerUpdateReq struct {
  363. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  364. UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
  365. IdNo string `json:"id_no" label:"身份证号"`
  366. Name string `json:"name" label:"姓名"`
  367. }
  368. type SelfSupportForSchoolWorkerDeleteReq struct {
  369. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  370. UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
  371. }
  372. type CentralKitchenForSchoolGradeListReq struct {
  373. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  374. Limit int `json:"limit" binding:"required"`
  375. Page int `json:"page" binding:"required"`
  376. Name string `json:"name" label:"名称"`
  377. }
  378. type CentralKitchenForSchoolClassListReq struct {
  379. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  380. GradeId int `json:"grade_id" label:"年级id"`
  381. Limit int `json:"limit" binding:"required"`
  382. Page int `json:"page" binding:"required"`
  383. Name string `json:"name" label:"名称"`
  384. }
  385. type SelfSupportForSchoolGradeListReq struct {
  386. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  387. Limit int `json:"limit" binding:"required"`
  388. Page int `json:"page" binding:"required"`
  389. Name string `json:"name" label:"名称"`
  390. }
  391. type SelfSupportForSchoolClassListReq struct {
  392. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  393. GradeId int `json:"grade_id" label:"年级id"`
  394. Limit int `json:"limit" binding:"required"`
  395. Page int `json:"page" binding:"required"`
  396. Name string `json:"name" label:"名称"`
  397. }
  398. type SelfSupportForSchoolAddWorkerReq struct {
  399. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  400. Name string `json:"name" label:"名称"`
  401. IdNo string `json:"id_no" label:"身份证号"`
  402. }
  403. type SelfSupportForSchoolAddTeacherReq struct {
  404. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  405. Name string `json:"name" label:"名称"`
  406. IdNo string `json:"id_no" label:"身份证号"`
  407. }
  408. type SelfSupportForSchoolOrdListReq struct {
  409. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  410. Limit int `json:"limit" binding:"required"`
  411. Page int `json:"page" binding:"required"`
  412. Name string `json:"name" label:"姓名"`
  413. Phone string `json:"phone" label:"用户电话"`
  414. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  415. OrderStatus int `json:"order_status" label:"订单状态"`
  416. GradeId int `json:"grade_id" label:"年级id"`
  417. ClassId int `json:"class_id" label:"班级id"`
  418. StartDate string `json:"start_date" label:"刷脸-开始时间"`
  419. EndDate string `json:"end_date" label:"刷脸-截止时间"`
  420. IsTeacher int `json:"is_teacher" label:"是否教师"`
  421. }
  422. type SelfSupportForSchoolArrearsOrdListReq struct {
  423. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  424. Limit int `json:"limit" binding:"required"`
  425. Page int `json:"page" binding:"required"`
  426. Name string `json:"name" label:"姓名"`
  427. Phone string `json:"phone" label:"用户电话"`
  428. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  429. GradeId int `json:"grade_id" label:"年级id"`
  430. ClassId int `json:"class_id" label:"班级id"`
  431. StartDate string `json:"start_date" label:"刷脸-开始时间"`
  432. EndDate string `json:"end_date" label:"刷脸-截止时间"`
  433. IsTeacher int `json:"is_teacher" label:"是否教师"`
  434. }
  435. type SelfSupportForSchoolBlackListReq struct {
  436. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  437. Limit int `json:"limit" binding:"required"`
  438. Page int `json:"page" binding:"required"`
  439. }
  440. type SelfSupportForSchoolArrearsOrdDebtRepayReq struct {
  441. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  442. OutOrderNo string `json:"out_order_no"`
  443. MerchantCode string `json:"merchant_code" `
  444. }
  445. type SelfSupportForSchoolArrearsOrdDebtCancelReq struct {
  446. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  447. OutOrderNo string `json:"out_order_no"`
  448. MerchantCode string `json:"merchant_code" `
  449. }
  450. type SelfSupportForSchoolOrdListResp struct {
  451. EnterpriseId int `json:"enterprise_id" `
  452. EnterpriseName string `json:"enterprise_name" `
  453. Uid int `json:"uid" `
  454. UserIdentityId int `json:"user_identity_id" `
  455. UserIdentityName string `json:"user_identity_name" `
  456. TotalPrice string `json:"total_price" `
  457. OutTradeNo string `json:"out_trade_no" `
  458. TradeNo string `json:"trade_no"`
  459. OrderStatus int `json:"order_status"`
  460. Phone string `json:"phone"`
  461. FaceTime string `json:"face_time"`
  462. Name string `json:"name" label:"姓名"`
  463. Grade string `json:"grade" label:"年级"`
  464. GradeId int `json:"grade_id" label:"年级id"`
  465. Class string `json:"class" label:"班级"`
  466. ClassId int `json:"class_id" label:"班级id"`
  467. DeviceSn string `json:"device_sn" label:"设备编号"`
  468. CpMerchantId string `json:"cp_merchant_id" label:"商户编码"`
  469. DebtBusinessMsg string `json:"debt_business_msg" label:"欠款原因"`
  470. }
  471. type CentralKitchenForSchoolBatchAskForLeaveReqBySchool struct {
  472. EnterpriseIds []int `json:"enterprise_ids" binding:"required" label:"企业id"`
  473. IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
  474. IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
  475. IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
  476. Dates []string `json:"dates"`
  477. }
  478. type CentralKitchenForSchoolBatchAskForLeaveReqByGrade struct {
  479. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  480. GradeIds []int `json:"grade_ids" binding:"required" label:"年级id"`
  481. IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
  482. IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
  483. IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
  484. Dates []string `json:"dates"`
  485. }
  486. type CentralKitchenForSchoolBatchAskForLeaveReqByClass struct {
  487. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  488. GradeId int `json:"grade_id" binding:"required" label:"年级id"`
  489. ClassIds []int `json:"class_ids" label:"班级id"`
  490. IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
  491. IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
  492. IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
  493. Dates []string `json:"dates"`
  494. }
  495. type ListNursingHomePackageReq struct {
  496. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  497. Page int `json:"page" label:"页码"`
  498. Limit int `json:"limit" label:"每页数量"`
  499. Year string `json:"year" label:"年份"`
  500. Month string `json:"month" label:"月份"`
  501. }
  502. type EnterpriseUserListByNursingHomeResp struct {
  503. List []EnterpriseUserListByNursingHomeStruct `json:"list"`
  504. Total int64 `json:"total"`
  505. }
  506. type EnterpriseUserListByNursingHomeStruct struct {
  507. Id int `json:"id" label:"支付宝昵称"`
  508. Nickname string `json:"nickname" label:"支付宝昵称"`
  509. Phone string `json:"phone" label:"手机号"`
  510. Avatar string `json:"avatar" label:"头像"`
  511. CreateAt string `json:"create_at" label:"创建时间"`
  512. UserIdentities []struct {
  513. Id int `json:"id" label:"身份id"`
  514. IdNo string `json:"id_no" label:"身份证号"`
  515. EnterpriseName string `json:"enterprise_name" label:"单位名"`
  516. Name string `json:"name" label:"姓名"`
  517. } `json:"user_identities" label:"身份列表"`
  518. }
  519. type NursingHomeUserUpdateReq struct {
  520. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  521. Uid int `json:"uid" binding:"required" label:"用户id"`
  522. Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
  523. Phone string `json:"phone" binding:"required" label:"手机号"`
  524. BindUserIdentities []struct {
  525. UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
  526. IdNo string `json:"id_no" label:"身份证号"`
  527. Name string `json:"name" label:"姓名"`
  528. } `json:"user_identities" label:"身份列表"`
  529. }
  530. type NursingHomeOrdListReq struct {
  531. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  532. Limit int `json:"limit" binding:"required"`
  533. Page int `json:"page" binding:"required"`
  534. Name string `json:"name" label:"姓名"`
  535. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  536. Kind int `json:"kind" label:"预定类型"`
  537. Sate int `json:"state" label:"支付状态"`
  538. OrdSate int `json:"ord_state" label:"订单状态"`
  539. Phone string `json:"phone" label:"家长联系电话"`
  540. StartDate string `json:"start_date" label:"开始时间"`
  541. EndDate string `json:"end_date" label:"截止时间"`
  542. }
  543. type NursingHomeOrdListResp struct {
  544. EnterpriseId int `json:"enterprise_id" `
  545. EnterpriseName string `json:"enterprise_name" `
  546. Uid int `json:"uid" `
  547. UserIdentityId int `json:"user_identity_id" `
  548. UserIdentityKind int `json:"user_identity_kind" `
  549. UserIdentityName string `json:"user_identity_name" `
  550. TotalPrice string `json:"total_price" `
  551. Kind int `json:"kind" `
  552. OutTradeNo string `json:"out_trade_no" `
  553. TradeNo string `json:"trade_no"`
  554. State int `json:"state"`
  555. OrdState int `json:"ord_state"`
  556. CreateAt string `json:"create_at"`
  557. Phone string `json:"phone" label:"家长联系电话"`
  558. Name string `json:"name" label:"姓名"`
  559. }
  560. type NursingHomeReserveListReq struct {
  561. EnterpriseId int `json:"enterprise_id" label:"企业id"`
  562. Limit int `json:"limit" binding:"required"`
  563. Page int `json:"page" binding:"required"`
  564. Name string `json:"name" label:"姓名"`
  565. OutTradeNo string `json:"out_trade_no" label:"订单号"`
  566. Kind int `json:"kind" label:"预定类型"`
  567. Phone string `json:"phone" label:"家长联系电话"`
  568. StartDate string `json:"start_date" label:"开始时间"`
  569. EndDate string `json:"end_date" label:"截止时间"`
  570. }
  571. type NursingHomeReserveListResp struct {
  572. Id int `json:"id" `
  573. EnterpriseId int `json:"enterprise_id" `
  574. EnterpriseName string `json:"enterprise_name" `
  575. Uid int `json:"uid" `
  576. UserIdentityId int `json:"user_identity_id" `
  577. UserIdentityName string `json:"user_identity_name" `
  578. Kind int `json:"kind"`
  579. OutTradeNo string `json:"out_trade_no" `
  580. ReserveMonth string `json:"reserve_month"`
  581. CreateAt string `json:"create_at"`
  582. Phone string `json:"phone" label:"家长联系电话"`
  583. }
  584. type NursingHomeOrdRefundReq struct {
  585. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  586. Ids []string `json:"ids" label:"ids" binding:"required"`
  587. }
  588. type NursingHomeUserDeleteReq struct {
  589. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  590. Uids []int `json:"uids" binding:"required" label:"用户id"`
  591. }
  592. type SetBasicNursingHomeReq struct {
  593. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  594. State int32 `json:"state" label:"状态(1:正常 2:冻结)"`
  595. Name string `json:"name" binding:"required" label:"名称"`
  596. IsOpenBreakfast int `json:"is_open_breakfast" label:"是否开启早餐"`
  597. IsOpenLunch int `json:"is_open_lunch" label:"是否开启午餐"`
  598. IsOpenDinner int `json:"is_open_dinner" label:"是否开启晚餐"`
  599. IsOpenReportMealForDay int `json:"is_open_report_meal_for_day" label:"开启按天报餐(1:开启 2:关闭)"`
  600. IsOpenReportMealForMonth int `json:"is_open_report_meal_for_month" label:"开启按月报餐(1:开启 2:关闭)"`
  601. IsOpenReportMealForYear int `json:"is_open_report_meal_for_year" label:"开启按年报餐(1:开启 2:关闭)"`
  602. }
  603. type SetNursingHomeWithSpecReq struct {
  604. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  605. BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
  606. LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
  607. DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
  608. }
  609. type SaveNursingHomePackageReq struct {
  610. PackageId int `json:"package_id" label:"套餐ID"`
  611. EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
  612. Year string `json:"year" binding:"required" label:"年份"`
  613. Month string `json:"month" binding:"required" label:"月份"`
  614. StartDate string `json:"start_date" binding:"required" label:"开始时间"`
  615. EndDate string `json:"end_date" binding:"required" label:"截止时间"`
  616. State int `json:"state" label:"状态(1:可用 2:不可用)"`
  617. DateList []struct {
  618. Date string `json:"date"`
  619. IsOpenBreakfast int32 `json:"is_open_breakfast"`
  620. IsOpenLunch int32 `json:"is_open_lunch"`
  621. IsOpenDinner int32 `json:"is_open_dinner"`
  622. IsOpenReplenish int32 `json:"is_open_replenish"`
  623. } `json:"date_list" binding:"required" label:"日期"`
  624. }