| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package model
- import (
- "dashoo.cn/micro/app/model/train/internal"
- "dashoo.cn/opms_libary/request"
- "github.com/gogf/gf/os/gtime"
- )
- // TrainSaleApply is the golang structure for table train_sale_apply.
- type TrainSaleApply internal.TrainSaleApply
- // Fill with you ideas below.
- type TrainSaleApplySearchReq struct {
- request.PageReq
- CreatedBy int `json:"createdBy"` // 创建人
- DistributorId int `json:"distributorId"` // 渠道ID
- MainProduct string `json:"mainProduct"` // 主营产品
- }
- type TrainSaleApplyRes struct {
- Id int `json:"id"` // 主键
- DistributorId int `json:"distributorId"` // 渠道ID
- DistributorName string `json:"distributorName"` // 渠道名称
- MainProduct string `json:"mainProduct"` // 主营产品
- MainCustomer string `json:"mainCustomer"` // 主要客户
- Trainees string `json:"trainees"` // 参训人员
- ExpectTrainDate *gtime.Time `json:"expectTrainDate"` // 期望培训日期
- ExpectStartTime *gtime.Time `json:"expectStartTime"` // 期望开始时间
- ExpectEndTime *gtime.Time `json:"expectEndTime"` // 期望结束时间
- TrainInstructor string `json:"trainInstructor"` // 培训讲师
- TrainDate *gtime.Time `json:"trainDate"` // 培训日期
- SpecificStartTime *gtime.Time `json:"specificStartTime"` // 开始时间
- SpecificEndTime *gtime.Time `json:"specificEndTime"` // 结束时间
- TrainTitle string `json:"trainTitle"` // 培训主题
- InstructorRequire string `json:"instructorRequire"` // 讲师要求
- FocusPoint string `json:"focusPoint"` // 关注要点
- ApplyType string `json:"applyType"` // 申请状态(10 已提交 20 已确认 30 总结完成)
- }
- type TrainSaleApplyCreateReq struct {
- DistributorId int `json:"distributorId" v:"required|min:1#|渠道ID不能为空"` // 渠道ID
- DistributorName string `json:"distributorName" v:"required#渠道不能为空"` // 渠道名称
- MainProduct string `json:"mainProduct" v:"required#主营产品不能为空"` // 主营产品
- MainCustomer string `json:"mainCustomer" v:"required#主要客户不能为空"` // 主要客户
- Trainees string `json:"trainees" v:"required#参训人员不能为空"` // 参训人员
- ExpectTrainDate *gtime.Time `json:"expectTrainDate" v:"required#期望培训日期不能为空"` // 期望培训日期
- ExpectStartTime *gtime.Time `json:"expectStartTime" v:"required#期望开始时间不能为空"` // 期望开始时间
- ExpectEndTime *gtime.Time `json:"expectEndTime" v:"required#期望结束时间不能为空"` // 期望结束时间
- TrainTitle string `json:"trainTitle" v:"required#培训主题不能为空"` // 培训主题
- InstructorRequire string `json:"instructorRequire" v:"required#讲师要求不能为空"` // 讲师要求
- FocusPoint string `json:"focusPoint" v:"required#关注要点不能为空"` // 关注要点
- }
- type TrainSaleApplyUpdateReq struct {
- Id int `json:"id" v:"required|min:1#|主ID不能为空"` // 主键
- DistributorId int `json:"distributorId" v:"required|min:1#|渠道ID不能为空"` // 渠道ID
- DistributorName string `json:"distributorName" v:"required#渠道不能为空"` // 渠道名称
- MainProduct string `json:"mainProduct" v:"required#主营产品不能为空"` // 主营产品
- MainCustomer string `json:"mainCustomer" v:"required#主要客户不能为空"` // 主要客户
- Trainees string `json:"trainees" v:"required#参训人员不能为空"` // 参训人员
- ExpectTrainDate *gtime.Time `json:"expectTrainDate" v:"required#期望培训日期不能为空"` // 期望培训日期
- ExpectStartTime *gtime.Time `json:"expectStartTime" v:"required#期望开始时间不能为空"` // 期望开始时间
- ExpectEndTime *gtime.Time `json:"expectEndTime" v:"required#期望结束时间不能为空"` // 期望结束时间
- TrainTitle string `json:"trainTitle" v:"required#培训主题不能为空"` // 培训主题
- InstructorRequire string `json:"instructorRequire" v:"required#讲师要求不能为空"` // 讲师要求
- FocusPoint string `json:"focusPoint" v:"required#关注要点不能为空"` // 关注要点
- TrainInstructor string `json:"trainInstructor" v:"required#培训讲师不能为空"` // 培训讲师
- TrainDate *gtime.Time `json:"trainDate" v:"required#培训日期不能为空"` // 培训日期
- SpecificStartTime *gtime.Time `json:"specificStartTime" v:"required#开始时间不能为空"` // 开始时间
- SpecificEndTime *gtime.Time `json:"specificEndTime" v:"required#结束时间不能为空"` // 结束时间
- ApplyType string `json:"applyType" v:"required#申请状态不能为空"` // 申请状态(10 已提交 20 已确认 30 总结完成)
- }
|