| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- // ==========================================================================
- // Code generated and maintained by gf cli tool. DO NOT EDIT.
- // ==========================================================================
- package opsdev
- import (
- "dashoo.cn/opms_libary/request"
- "dashoo.cn/opms_parent/app/model/opsdev/internal"
- "github.com/gogf/gf/os/gtime"
- )
- // PlatMeeting is the golang structure for table plat_meeting.
- type PlatMeeting internal.PlatMeeting
- // PlatMeetingSearchReq 会议列表查询请求
- type PlatMeetingSearchReq struct {
- request.PageReq
- MeetingTitle string `json:"meetingTitle"`
- OrganizerName string `json:"organizerName"`
- DeptId int `json:"deptId"`
- MeetingDateStart string `json:"meetingDateStart"`
- MeetingDateEnd string `json:"meetingDateEnd"`
- }
- // PlatMeetingRsp 会议列表响应
- type PlatMeetingRsp struct {
- Id uint64 `json:"id"`
- MeetingTitle string `json:"meetingTitle"`
- MeetingContent string `json:"meetingContent"`
- MeetingDate *gtime.Time `json:"meetingDate"`
- MeetingDateEnd *gtime.Time `json:"meetingDateEnd"`
- Duration float64 `json:"duration"`
- OrganizerId int `json:"organizerId"`
- OrganizerName string `json:"organizerName"`
- DeptId int `json:"deptId"`
- Remark string `json:"remark"`
- CreatedBy int `json:"createdBy"`
- CreatedName string `json:"createdName"`
- CreatedTime *gtime.Time `json:"createdTime"`
- UpdatedBy int `json:"updatedBy"`
- UpdatedName string `json:"updatedName"`
- UpdatedTime *gtime.Time `json:"updatedTime"`
- Attendees []*PlatMeetingAttendeeRsp `json:"attendees"`
- }
- // PlatMeetingAddReq 新增会议请求
- type PlatMeetingAddReq struct {
- MeetingTitle string `json:"meetingTitle" v:"required#会议标题不能为空"`
- MeetingContent string `json:"meetingContent"`
- MeetingDate string `json:"meetingDate" v:"required#会议日期不能为空"`
- Duration float64 `json:"duration" v:"required#会议时长不能为空"`
- OrganizerId int `json:"organizerId" v:"required#会议负责人不能为空"`
- OrganizerName string `json:"organizerName" v:"required#会议负责人不能为空"`
- DeptId int `json:"deptId"`
- Remark string `json:"remark"`
- UserIds []int `json:"userIds" v:"required#参会人员不能为空"`
- UserNames []string `json:"userNames" v:"required#参会人员不能为空"`
- }
- // PlatMeetingUpdateReq 更新会议请求
- type PlatMeetingUpdateReq struct {
- Id int `json:"id" v:"required#会议ID不能为空"`
- MeetingTitle string `json:"meetingTitle"`
- MeetingContent string `json:"meetingContent"`
- MeetingDate string `json:"meetingDate"`
- Duration float64 `json:"duration"`
- OrganizerId int `json:"organizerId"`
- OrganizerName string `json:"organizerName"`
- DeptId int `json:"deptId"`
- Remark string `json:"remark"`
- UserIds []int `json:"userIds"`
- UserNames []string `json:"userNames"`
- }
- // PlatMeetingDeleteReq 删除会议请求
- type PlatMeetingDeleteReq struct {
- Ids []int64 `json:"ids" v:"required#请选择需要删除的记录"`
- }
- // PlatMeetingCompleteReq 结束会议请求(生成参会人员工时)
- type PlatMeetingCompleteReq struct {
- Id int `json:"id" v:"required#会议ID不能为空"`
- }
- // PlatMeetingAttendeeRsp 参会人员响应
- type PlatMeetingAttendeeRsp struct {
- Id uint64 `json:"id"`
- MeetingId int `json:"meetingId"`
- UserId int `json:"userId"`
- UserName string `json:"userName"`
- WorkHourGenerated int `json:"workHourGenerated"`
- CreatedTime *gtime.Time `json:"createdTime"`
- }
- // PlatMeetingAddAttendeeReq 追加参会人员请求
- type PlatMeetingAddAttendeeReq struct {
- MeetingId int `json:"meetingId" v:"required#会议ID不能为空"`
- UserIds []int `json:"userIds" v:"required#参会人员不能为空"`
- UserNames []string `json:"userNames" v:"required#参会人员不能为空"`
- }
- // PlatMeetingWorkHourRsp 会议工时响应
- type PlatMeetingWorkHourRsp struct {
- Id uint64 `json:"id"`
- MeetingId int `json:"meetingId"`
- AttendeeId int `json:"attendeeId"`
- UserId int `json:"userId"`
- UserName string `json:"userName"`
- WorkDate *gtime.Time `json:"workDate"`
- WorkHour float64 `json:"workHour"`
- Remark string `json:"remark"`
- }
|