|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709 |
- package md
-
- type EnterpriseUserListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Nickname string `json:"nickname" label:"支付宝昵称"`
- Name string `json:"name" label:"用户名称"`
- Phone string `json:"phone" label:"手机号"`
- IsTeacher int `json:"is_teacher" label:"是否教师"`
- EnterpriseName string `json:"enterprise_name" label:"校企名称"`
- }
-
- type EnterpriseUserListByCentralKitchenForSchoolStruct struct {
- Id int `json:"id" label:"支付宝昵称"`
- Nickname string `json:"nickname" label:"支付宝昵称"`
- Phone string `json:"phone" label:"手机号"`
- Avatar string `json:"avatar" label:"头像"`
- IsTeacher int `json:"is_teacher" label:"是否教师"`
- CreateAt string `json:"create_at" label:"创建时间"`
- UserIdentities []struct {
- Id int `json:"id" label:"身份id"`
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- IdNo string `json:"id_no" label:"身份证号"`
- SchoolName string `json:"school_name" label:"学校名"`
- Name string `json:"name" label:"姓名"`
- Grade string `json:"grade" label:"年级"`
- GradeId int `json:"grade_id" label:"年级id"`
- Class string `json:"class" label:"班级"`
- ClassId int `json:"class_id" label:"班级id"`
- } `json:"user_identities" label:"身份列表"`
- }
-
- type EnterpriseUserListByCentralKitchenForSchoolResp struct {
- List []EnterpriseUserListByCentralKitchenForSchoolStruct `json:"list"`
- Total int64 `json:"total"`
- UserIdentityKindList interface{} `json:"user_identity_kind_list"`
- }
-
- type CentralKitchenForSchoolUserUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Uid int `json:"uid" binding:"required" label:"用户id"`
- Nickname string `json:"nickname" label:"支付宝昵称"`
- Phone string `json:"phone" binding:"required" label:"手机号"`
- BindUserIdentities []struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- GradeId int `json:"grade_id" label:"年级"`
- ClassId int `json:"class_id" label:"班级"`
- } `json:"user_identities" label:"身份列表"`
- }
-
- type CentralKitchenForSchoolUserUpdateReqV2 struct {
- Uid int `json:"uid" binding:"required" label:"用户id"`
- Nickname string `json:"nickname" label:"支付宝昵称"`
- Phone string `json:"phone" binding:"required" label:"手机号"`
- BindUserIdentities []struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- GradeId int `json:"grade_id" label:"年级"`
- ClassId int `json:"class_id" label:"班级"`
- } `json:"user_identities" label:"身份列表"`
- }
-
- type CentralKitchenForSchoolUserDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- Uids []int `json:"uids" binding:"required" label:"用户id"`
- }
-
- type CentralKitchenForSchoolStudentListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- IdNo string `json:"id_no" label:"身份证号"`
- Phone string `json:"phone" label:"手机号"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- }
-
- type CentralKitchenForSchoolTeacherListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- IdNo string `json:"id_no" label:"身份证号"`
- }
-
- type CentralKitchenForSchoolStudentListResp struct {
- IdNo string `json:"id_no" label:"身份证号"`
- ParentPhone string `json:"parent_phone" label:"家长电话"`
- Name string `json:"name" label:"姓名"`
- Grade string `json:"grade" label:"年级"`
- GradeId int `json:"grade_id" label:"年级id"`
- Class string `json:"class" label:"班级"`
- ClassId int `json:"class_id" label:"班级"`
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- }
-
- type CentralKitchenForSchoolTeacherListResp struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Phone string `json:"parent_phone" label:"电话"`
- Name string `json:"name" label:"姓名"`
- }
-
- type CentralKitchenForSchoolTeacherUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- }
-
- type CentralKitchenForSchoolStudentUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- }
-
- type CentralKitchenForSchoolStudentDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
- }
-
- type CentralKitchenForSchoolTeacherDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
- }
-
- type CentralKitchenForSchoolStudentAdmissionReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- ClassId int `json:"class_id" label:"班级id"`
- GradeId int `json:"grade_id" label:"年级id"`
- }
-
- type SetCentralKitchenForSchoolWithSpecReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
- BreakfastUnitPriceForTeacher string `json:"breakfast_unit_price_for_teacher" binding:"required" label:"教师-早餐-单价"`
- LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
- LunchUnitPriceForTeacher string `json:"lunch_unit_price_for_teacher" binding:"required" label:"教师-午餐-单价"`
- DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
- DinnerUnitPriceForTeacher string `json:"dinner_unit_price_for_teacher" binding:"required" label:"教师-晚餐-单价"`
- }
-
- type SetCentralKitchenForSchoolWithSpecByPeriodReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- List []struct {
- PeriodId int `json:"period_id" binding:"required" label:"学段id"`
- BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
- LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
- DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
- } `json:"list" binding:"required" label:"日期"`
- }
-
- type SaveCentralKitchenForSchoolPackageReq struct {
- PackageId int `json:"package_id" label:"套餐ID"`
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Year string `json:"year" binding:"required" label:"年份"`
- Month string `json:"month" binding:"required" label:"月份"`
- StartDate string `json:"start_date" binding:"required" label:"开始时间"`
- EndDate string `json:"end_date" binding:"required" label:"截止时间"`
- State int `json:"state" label:"状态(1:可用 2:不可用)"`
- DateList []struct {
- Date string `json:"date"`
- IsOpenBreakfast int32 `json:"is_open_breakfast"`
- IsOpenLunch int32 `json:"is_open_lunch"`
- IsOpenDinner int32 `json:"is_open_dinner"`
- IsOpenReplenish int32 `json:"is_open_replenish"`
- } `json:"date_list" binding:"required" label:"日期"`
- }
-
- type SetBasicCentralKitchenForSchoolReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- State int32 `json:"state" label:"状态(1:正常 2:冻结)"`
- Name string `json:"name" binding:"required" label:"名称"`
- IsOpenBreakfast int `json:"is_open_breakfast" label:"是否开启早餐"`
- IsOpenLunch int `json:"is_open_lunch" label:"是否开启午餐"`
- IsOpenDinner int `json:"is_open_dinner" label:"是否开启晚餐"`
- IsOpenReportMealForDay int `json:"is_open_report_meal_for_day" label:"开启学生按天报餐(1:开启 2:关闭)"`
- IsOpenReportMealForMonth int `json:"is_open_report_meal_for_month" label:"开启学生按月报餐(1:开启 2:关闭)"`
- IsOpenReportMealForSemester int `json:"is_open_report_meal_for_semester" label:"开启学生按学期报餐(1:开启 2:关闭)"`
- IsOpenTeacherReportMealForDay int `json:"is_open_teacher_report_meal_for_day" label:"开启教师按天报餐(1:开启 2:关闭)"`
- IsOpenTeacherReportMealForMonth int `json:"is_open_teacher_report_meal_for_month" label:"开启教师按月报餐(1:开启 2:关闭)"`
- IsOpenTeacherReportMealForSemester int `json:"is_open_teacher_report_meal_for_semester" label:"开启教师按学期报餐(1:开启 2:关闭)"`
- IsOpenTeacherReportMeal int `json:"is_open_teacher_report_meal" label:"'教师报餐(1:开启 2:关闭)"`
- }
-
- type ListCentralKitchenForSchoolPackageReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Page int `json:"page" label:"页码"`
- Limit int `json:"limit" label:"每页数量"`
- Year string `json:"year" label:"年份"`
- Month string `json:"month" label:"月份"`
- }
-
- type CentralKitchenForSchoolOrdRefundReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Ids []string `json:"ids" label:"ids" binding:"required"`
- }
-
- type CentralKitchenForSchoolOrdListResp struct {
- EnterpriseId int `json:"enterprise_id" `
- EnterpriseName string `json:"enterprise_name" `
- Uid int `json:"uid" `
- UserIdentityId int `json:"user_identity_id" `
- UserIdentityKind int `json:"user_identity_kind" `
- UserIdentityName string `json:"user_identity_name" `
- TotalPrice string `json:"total_price" `
- Kind int `json:"kind" `
- OutTradeNo string `json:"out_trade_no" `
- TradeNo string `json:"trade_no"`
- State int `json:"state"`
- OrdState int `json:"ord_state"`
- CreateAt string `json:"create_at"`
- Phone string `json:"phone" label:"家长联系电话"`
- Name string `json:"name" label:"姓名"`
- Grade string `json:"grade" label:"年级"`
- GradeId int `json:"grade_id" label:"年级id"`
- Class string `json:"class" label:"班级"`
- ClassId int `json:"class_id" label:"班级id"`
- }
-
- type CentralKitchenForSchoolOrdListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- IsTeacher int `json:"is_teacher" label:"是否教师"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- OutTradeNo string `json:"out_trade_no" label:"订单号"`
- Kind int `json:"kind" label:"预定类型"`
- EnterPriseKind int `json:"enterprise_kind" label:"校企类型"`
- Sate int `json:"state" label:"支付状态"`
- OrdSate int `json:"ord_state" label:"订单状态"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- Phone string `json:"phone" label:"家长联系电话"`
- StartDate string `json:"start_date" label:"开始时间"`
- EndDate string `json:"end_date" label:"截止时间"`
- }
-
- type CentralKitchenForSchoolReserveListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- OutTradeNo string `json:"out_trade_no" label:"订单号"`
- Kind int `json:"kind" label:"预定类型"`
- EnterPriseKind int `json:"enterprise_kind" label:"校企类型"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- Phone string `json:"phone" label:"家长联系电话"`
- StartDate string `json:"start_date" label:"开始时间"`
- EndDate string `json:"end_date" label:"截止时间"`
- }
-
- type CentralKitchenForSchoolReserveUpdateStudentReq struct {
- Id int `json:"id" `
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- UserIdentityId int `json:"user_identity_id" `
- OriginalUserIdentityId int `json:"original_user_identity_id" `
- Uid int `json:"uid" `
- }
-
- type CentralKitchenForSchoolReserveListResp struct {
- Id int `json:"id" `
- EnterpriseId int `json:"enterprise_id" `
- EnterpriseName string `json:"enterprise_name" `
- Uid int `json:"uid" `
- UserIdentityId int `json:"user_identity_id" `
- UserIdentityName string `json:"user_identity_name" `
- Kind int `json:"kind"`
- OutTradeNo string `json:"out_trade_no" `
- TradeNo string `json:"trade_no" `
- ReserveMonth string `json:"reserve_month"`
- TotalPrice string `json:"total_price"`
- CreateAt string `json:"create_at"`
- State int `json:"state"`
- StateZh string `json:"state_zh"`
- Phone string `json:"phone" label:"家长联系电话"`
- Grade string `json:"grade" label:"年级"`
- GradeId int `json:"grade_id" label:"年级id"`
- Class string `json:"class" label:"班级"`
- ClassId int `json:"class_id" label:"班级id"`
- }
-
- type SelfSupportForSchoolUserUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Uid int `json:"uid" binding:"required" label:"用户id"`
- Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
- Phone string `json:"phone" binding:"required" label:"手机号"`
- BindUserIdentities []struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- GradeId int `json:"grade_id" label:"年级"`
- ClassId int `json:"class_id" label:"班级"`
- } `json:"user_identities" label:"身份列表"`
- }
-
- type SelfSupportForSchoolUserDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Uids []int `json:"uids" binding:"required" label:"用户id"`
- }
-
- type SelfSupportForSchoolStudentListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- IdNo string `json:"id_no" label:"身份证号"`
- Phone string `json:"phone" label:"手机号"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- }
-
- type SelfSupportForSchoolStudentListResp struct {
- IdNo string `json:"id_no" label:"身份证号"`
- ParentPhone string `json:"parent_phone" label:"家长电话"`
- Name string `json:"name" label:"姓名"`
- Grade string `json:"grade" label:"年级"`
- GradeId int `json:"grade_id" label:"年级id"`
- Class string `json:"class" label:"班级"`
- ClassId int `json:"class_id" label:"班级"`
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
- SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
- SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
- }
-
- type SelfSupportForSchoolTeacherListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- IdNo string `json:"id_no" label:"身份证号"`
- }
-
- type SelfSupportForSchoolTeacherListResp struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Phone string `json:"parent_phone" label:"电话"`
- Name string `json:"name" label:"姓名"`
- CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采) "`
- SchoolFacePassStatus string `json:"school_face_pass_status" label:"校园一脸通行开通状态(开通:OPEN 关闭:CLOSE) "`
- SchoolFacePaymentStatus string `json:"school_face_payment_status" label:"校园一脸通行刷脸支付开通状态(开通:OPEN 关闭:CLOSE) "`
- }
-
- type SelfSupportForSchoolStudentUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
- }
-
- type SelfSupportForSchoolStudentAddReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
- }
-
- type SelfSupportForSchoolStudentDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
- }
-
- type SelfSupportForSchoolStudentAdmissionReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- ClassId int `json:"class_id" label:"班级id"`
- GradeId int `json:"grade_id" label:"年级id"`
- }
-
- type SelfSupportForSchoolTeacherUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- CollectFaceType int `json:"collect_face_type" label:"采集人脸方式(1:个采 2:集采)"`
- }
-
- type SelfSupportForSchoolTeacherDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
- }
-
- type SelfSupportForSchoolWorkerListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- IdNo string `json:"id_no" label:"身份证号"`
- }
-
- type SelfSupportForSchoolWorkerListResp struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Phone string `json:"parent_phone" label:"电话"`
- Name string `json:"name" label:"姓名"`
- CreateAt string `json:"create_at" label:"创建时间"`
- }
-
- type SelfSupportForSchoolWorkerUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityId int `json:"user_identity_id" binding:"required" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- }
-
- type SelfSupportForSchoolWorkerDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- UserIdentityIds []int `json:"user_identity_ids" binding:"required" label:"用户身份id"`
- }
-
- type CentralKitchenForSchoolGradeListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"名称"`
- }
-
- type CentralKitchenForSchoolClassListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- GradeId int `json:"grade_id" label:"年级id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"名称"`
- }
-
- type SelfSupportForSchoolGradeListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"名称"`
- }
-
- type SelfSupportForSchoolClassListReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- GradeId int `json:"grade_id" label:"年级id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"名称"`
- }
-
- type SelfSupportForSchoolAddWorkerReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Name string `json:"name" label:"名称"`
- IdNo string `json:"id_no" label:"身份证号"`
- }
-
- type SelfSupportForSchoolAddTeacherReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Name string `json:"name" label:"名称"`
- IdNo string `json:"id_no" label:"身份证号"`
- }
-
- type SelfSupportForSchoolOrdListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- EnterpriseKind int `json:"enterprise_kind" label:"校企类型"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- Phone string `json:"phone" label:"用户电话"`
- OutTradeNo string `json:"out_trade_no" label:"订单号"`
- OrderStatus int `json:"order_status" label:"订单状态"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- StartDate string `json:"start_date" label:"刷脸-开始时间"`
- EndDate string `json:"end_date" label:"刷脸-截止时间"`
- IsTeacher int `json:"is_teacher" label:"是否教师"`
- }
-
- type SelfSupportForSchoolArrearsOrdListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- EnterpriseKind int `json:"enterprise_kind" label:"企业类型"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- Phone string `json:"phone" label:"用户电话"`
- OutTradeNo string `json:"out_trade_no" label:"订单号"`
- GradeId int `json:"grade_id" label:"年级id"`
- ClassId int `json:"class_id" label:"班级id"`
- StartDate string `json:"start_date" label:"刷脸-开始时间"`
- EndDate string `json:"end_date" label:"刷脸-截止时间"`
- IsTeacher int `json:"is_teacher" label:"是否教师"`
- }
-
- type SelfSupportForSchoolBlackListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- }
-
- type SelfSupportForSchoolArrearsOrdDebtRepayReq struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- OutOrderNo string `json:"out_order_no"`
- MerchantCode string `json:"merchant_code" `
- }
-
- type SelfSupportForSchoolArrearsOrdDebtCancelReq struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- OutOrderNo string `json:"out_order_no"`
- MerchantCode string `json:"merchant_code" `
- }
-
- type SelfSupportForSchoolOrdListResp struct {
- EnterpriseId int `json:"enterprise_id" `
- EnterpriseName string `json:"enterprise_name" `
- Uid int `json:"uid" `
- UserIdentityId int `json:"user_identity_id" `
- UserIdentityName string `json:"user_identity_name" `
- TotalPrice string `json:"total_price" `
- OutTradeNo string `json:"out_trade_no" `
- TradeNo string `json:"trade_no"`
- OrderStatus int `json:"order_status"`
- Phone string `json:"phone"`
- FaceTime string `json:"face_time"`
- Name string `json:"name" label:"姓名"`
- Grade string `json:"grade" label:"年级"`
- GradeId int `json:"grade_id" label:"年级id"`
- Class string `json:"class" label:"班级"`
- ClassId int `json:"class_id" label:"班级id"`
- DeviceSn string `json:"device_sn" label:"设备编号"`
- ShopName string `json:"shop_name" label:"消费档口"`
- CpMerchantId string `json:"cp_merchant_id" label:"商户编码"`
- DebtBusinessMsg string `json:"debt_business_msg" label:"欠款原因"`
- }
-
- type CentralKitchenForSchoolBatchAskForLeaveReqBySchool struct {
- EnterpriseIds []int `json:"enterprise_ids" binding:"required" label:"企业id"`
- IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
- IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
- IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
- Dates []string `json:"dates"`
- }
-
- type CentralKitchenForSchoolBatchAskForLeaveReqByGrade struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- GradeIds []int `json:"grade_ids" binding:"required" label:"年级id"`
- IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
- IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
- IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
- Dates []string `json:"dates"`
- }
-
- type CentralKitchenForSchoolBatchAskForLeaveReqByClass struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- GradeId int `json:"grade_id" binding:"required" label:"年级id"`
- ClassIds []int `json:"class_ids" label:"班级id"`
- IsBreakfast int `json:"is_breakfast" label:"是否退早餐(1:退 0:不退)"`
- IsLunch int `json:"is_lunch" label:"是否退午餐(1:退 0:不退)"`
- IsDinner int `json:"is_dinner" label:"是否退晚餐(1:退 0:不退)"`
- Dates []string `json:"dates"`
- }
-
- type ListNursingHomePackageReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Page int `json:"page" label:"页码"`
- Limit int `json:"limit" label:"每页数量"`
- Year string `json:"year" label:"年份"`
- Month string `json:"month" label:"月份"`
- }
-
- type EnterpriseUserListByNursingHomeResp struct {
- List []EnterpriseUserListByNursingHomeStruct `json:"list"`
- Total int64 `json:"total"`
- }
-
- type EnterpriseUserListByNursingHomeStruct struct {
- Id int `json:"id" label:"支付宝昵称"`
- Nickname string `json:"nickname" label:"支付宝昵称"`
- Phone string `json:"phone" label:"手机号"`
- Avatar string `json:"avatar" label:"头像"`
- CreateAt string `json:"create_at" label:"创建时间"`
- UserIdentities []struct {
- Id int `json:"id" label:"身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- EnterpriseName string `json:"enterprise_name" label:"单位名"`
- Name string `json:"name" label:"姓名"`
- } `json:"user_identities" label:"身份列表"`
- }
-
- type NursingHomeUserUpdateReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Uid int `json:"uid" binding:"required" label:"用户id"`
- Nickname string `json:"nickname" binding:"required" label:"支付宝昵称"`
- Phone string `json:"phone" binding:"required" label:"手机号"`
- BindUserIdentities []struct {
- UserIdentityId int `json:"user_identity_id" label:"用户身份id"`
- IdNo string `json:"id_no" label:"身份证号"`
- Name string `json:"name" label:"姓名"`
- } `json:"user_identities" label:"身份列表"`
- }
-
- type NursingHomeOrdListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- OutTradeNo string `json:"out_trade_no" label:"订单号"`
- Kind int `json:"kind" label:"预定类型"`
- Sate int `json:"state" label:"支付状态"`
- OrdSate int `json:"ord_state" label:"订单状态"`
- Phone string `json:"phone" label:"家长联系电话"`
- StartDate string `json:"start_date" label:"开始时间"`
- EndDate string `json:"end_date" label:"截止时间"`
- }
-
- type NursingHomeOrdListResp struct {
- EnterpriseId int `json:"enterprise_id" `
- EnterpriseName string `json:"enterprise_name" `
- Uid int `json:"uid" `
- UserIdentityId int `json:"user_identity_id" `
- UserIdentityKind int `json:"user_identity_kind" `
- UserIdentityName string `json:"user_identity_name" `
- TotalPrice string `json:"total_price" `
- Kind int `json:"kind" `
- OutTradeNo string `json:"out_trade_no" `
- TradeNo string `json:"trade_no"`
- State int `json:"state"`
- OrdState int `json:"ord_state"`
- CreateAt string `json:"create_at"`
- Phone string `json:"phone" label:"家长联系电话"`
- Name string `json:"name" label:"姓名"`
- }
-
- type NursingHomeReserveListReq struct {
- EnterpriseId int `json:"enterprise_id" label:"企业id"`
- Limit int `json:"limit" binding:"required"`
- Page int `json:"page" binding:"required"`
- Name string `json:"name" label:"姓名"`
- OutTradeNo string `json:"out_trade_no" label:"订单号"`
- Kind int `json:"kind" label:"预定类型"`
- Phone string `json:"phone" label:"家长联系电话"`
- StartDate string `json:"start_date" label:"开始时间"`
- EndDate string `json:"end_date" label:"截止时间"`
- }
-
- type NursingHomeReserveListResp struct {
- Id int `json:"id" `
- EnterpriseId int `json:"enterprise_id" `
- EnterpriseName string `json:"enterprise_name" `
- Uid int `json:"uid" `
- UserIdentityId int `json:"user_identity_id" `
- UserIdentityName string `json:"user_identity_name" `
- Kind int `json:"kind"`
- OutTradeNo string `json:"out_trade_no" `
- ReserveMonth string `json:"reserve_month"`
- CreateAt string `json:"create_at"`
- Phone string `json:"phone" label:"家长联系电话"`
- }
-
- type NursingHomeOrdRefundReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Ids []string `json:"ids" label:"ids" binding:"required"`
- }
- type NursingHomeUserDeleteReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Uids []int `json:"uids" binding:"required" label:"用户id"`
- }
-
- type SetBasicNursingHomeReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- State int32 `json:"state" label:"状态(1:正常 2:冻结)"`
- Name string `json:"name" binding:"required" label:"名称"`
- IsOpenBreakfast int `json:"is_open_breakfast" label:"是否开启早餐"`
- IsOpenLunch int `json:"is_open_lunch" label:"是否开启午餐"`
- IsOpenDinner int `json:"is_open_dinner" label:"是否开启晚餐"`
- IsOpenReportMealForDay int `json:"is_open_report_meal_for_day" label:"开启按天报餐(1:开启 2:关闭)"`
- IsOpenReportMealForMonth int `json:"is_open_report_meal_for_month" label:"开启按月报餐(1:开启 2:关闭)"`
- IsOpenReportMealForYear int `json:"is_open_report_meal_for_year" label:"开启按年报餐(1:开启 2:关闭)"`
- }
-
- type SetNursingHomeWithSpecReq struct {
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- BreakfastUnitPrice string `json:"breakfast_unit_price" binding:"required" label:"早餐-单价"`
- LunchUnitPrice string `json:"lunch_unit_price" binding:"required" label:"午餐-单价"`
- DinnerUnitPrice string `json:"dinner_unit_price" binding:"required" label:"晚餐-单价"`
- }
-
- type SaveNursingHomePackageReq struct {
- PackageId int `json:"package_id" label:"套餐ID"`
- EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"`
- Year string `json:"year" binding:"required" label:"年份"`
- Month string `json:"month" binding:"required" label:"月份"`
- StartDate string `json:"start_date" binding:"required" label:"开始时间"`
- EndDate string `json:"end_date" binding:"required" label:"截止时间"`
- State int `json:"state" label:"状态(1:可用 2:不可用)"`
- DateList []struct {
- Date string `json:"date"`
- IsOpenBreakfast int32 `json:"is_open_breakfast"`
- IsOpenLunch int32 `json:"is_open_lunch"`
- IsOpenDinner int32 `json:"is_open_dinner"`
- IsOpenReplenish int32 `json:"is_open_replenish"`
- } `json:"date_list" binding:"required" label:"日期"`
- }
|