// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package plat import ( "dashoo.cn/opms_libary/request" "github.com/gogf/gf/os/gtime" "dashoo.cn/micro/app/model/plat/internal" ) // PlatSchedule is the golang structure for table plat_schedule. type PlatSchedule internal.PlatSchedule // Fill with you ideas below. //AddScheduleSeq 添加日程表 type AddScheduleSeq struct { SchTitle string `json:"schTitle" v:"required#日程标题不能为空"` //标题 SchContent string `json:"schContent" v:"required#日程内容不能为空"` //内容 SchDate *gtime.Time `json:"schDate" v:"required#开始时间不能为空"` //日程开始时间 SchDateEnd *gtime.Time `json:"schDateEnd" v:"required#结束时间不能为空"` //日程结束时间 SchType string `json:"schType"` // 类型:10非全天日程;20全天日程 BizType string `json:"bizType,omitempty"` //关联业务类型 BizBillId int `json:"bizBillId,omitempty"` //关联业务单据 UserIds []string `json:"userIds" v:"required#用户不能为空"` // 用户unionId } // ScheduleSearchReq 日程表列表搜索参数 type ScheduleSearchReq struct { SchDate *gtime.Time `json:"schDate"` // 日期 DataType string `json:"dataType"` // 数据类型:(前后端约定)10 查询参与者,其他 查询组织者 request.PageReq } // GetScheduleRes 日程管理列表返回 type GetScheduleRes struct { PlatSchedule Attendees []*PlatScheduleAttendee `json:"attendees"` // 参与者 } // UserBusyStatusReq 用户闲忙信息请求 type UserBusyStatusReq struct { BeginTime *gtime.Time `json:"beginTime" v:"required#开始时间不能为空"` // 开始时间 EndTime *gtime.Time `json:"endTime" v:"required#结束时间不能为空"` // 结束时间 UserIds []string `json:"userIds" v:"required#用户不能为空"` // 用户unionId } // DingScheduleEvent 钉钉事件回调,接收参数 type DingScheduleEvent struct { ChangeType string EventType string CalendarEventId string UnionIdList []string }