package md type EnterpriseUserListReq struct { EnterpriseId int `json:"enterprise_id" binding:"required" label:"企业id"` Limit int `json:"limit" binding:"required"` Page int `json:"page" binding:"required"` Nickname string `json:"nickname" label:"支付宝昵称"` Phone string `json:"phone" label:"手机号"` IsTeacher int `json:"is_teacher" 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 { 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"` } type CentralKitchenForSchoolUserUpdateReq 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 { 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" binding:"required" 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" binding:"required" label:"班级id"` GradeId int `json:"grade_id" binding:"required" 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 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:关闭)"` 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" ` Uid int `json:"uid" ` UserIdentityId int `json:"user_identity_id" ` 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"` 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" binding:"required" 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:"订单状态"` 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:"截止时间"` }