plat_meeting.go 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // ==========================================================================
  2. // Code generated and maintained by gf cli tool. DO NOT EDIT.
  3. // ==========================================================================
  4. package opsdev
  5. import (
  6. "dashoo.cn/opms_libary/request"
  7. "dashoo.cn/opms_parent/app/model/opsdev/internal"
  8. "github.com/gogf/gf/os/gtime"
  9. )
  10. // PlatMeeting is the golang structure for table plat_meeting.
  11. type PlatMeeting internal.PlatMeeting
  12. // PlatMeetingSearchReq 会议列表查询请求
  13. type PlatMeetingSearchReq struct {
  14. request.PageReq
  15. MeetingTitle string `json:"meetingTitle"`
  16. OrganizerName string `json:"organizerName"`
  17. DeptId int `json:"deptId"`
  18. MeetingDateStart string `json:"meetingDateStart"`
  19. MeetingDateEnd string `json:"meetingDateEnd"`
  20. }
  21. // PlatMeetingRsp 会议列表响应
  22. type PlatMeetingRsp struct {
  23. Id uint64 `json:"id"`
  24. MeetingTitle string `json:"meetingTitle"`
  25. MeetingContent string `json:"meetingContent"`
  26. MeetingDate *gtime.Time `json:"meetingDate"`
  27. MeetingDateEnd *gtime.Time `json:"meetingDateEnd"`
  28. Duration float64 `json:"duration"`
  29. OrganizerId int `json:"organizerId"`
  30. OrganizerName string `json:"organizerName"`
  31. DeptId int `json:"deptId"`
  32. Remark string `json:"remark"`
  33. CreatedBy int `json:"createdBy"`
  34. CreatedName string `json:"createdName"`
  35. CreatedTime *gtime.Time `json:"createdTime"`
  36. UpdatedBy int `json:"updatedBy"`
  37. UpdatedName string `json:"updatedName"`
  38. UpdatedTime *gtime.Time `json:"updatedTime"`
  39. Attendees []*PlatMeetingAttendeeRsp `json:"attendees"`
  40. }
  41. // PlatMeetingAddReq 新增会议请求
  42. type PlatMeetingAddReq struct {
  43. MeetingTitle string `json:"meetingTitle" v:"required#会议标题不能为空"`
  44. MeetingContent string `json:"meetingContent"`
  45. MeetingDate string `json:"meetingDate" v:"required#会议日期不能为空"`
  46. Duration float64 `json:"duration" v:"required#会议时长不能为空"`
  47. OrganizerId int `json:"organizerId" v:"required#会议负责人不能为空"`
  48. OrganizerName string `json:"organizerName" v:"required#会议负责人不能为空"`
  49. DeptId int `json:"deptId"`
  50. Remark string `json:"remark"`
  51. UserIds []int `json:"userIds" v:"required#参会人员不能为空"`
  52. UserNames []string `json:"userNames" v:"required#参会人员不能为空"`
  53. }
  54. // PlatMeetingUpdateReq 更新会议请求
  55. type PlatMeetingUpdateReq struct {
  56. Id int `json:"id" v:"required#会议ID不能为空"`
  57. MeetingTitle string `json:"meetingTitle"`
  58. MeetingContent string `json:"meetingContent"`
  59. MeetingDate string `json:"meetingDate"`
  60. Duration float64 `json:"duration"`
  61. OrganizerId int `json:"organizerId"`
  62. OrganizerName string `json:"organizerName"`
  63. DeptId int `json:"deptId"`
  64. Remark string `json:"remark"`
  65. UserIds []int `json:"userIds"`
  66. UserNames []string `json:"userNames"`
  67. }
  68. // PlatMeetingDeleteReq 删除会议请求
  69. type PlatMeetingDeleteReq struct {
  70. Ids []int64 `json:"ids" v:"required#请选择需要删除的记录"`
  71. }
  72. // PlatMeetingCompleteReq 结束会议请求(生成参会人员工时)
  73. type PlatMeetingCompleteReq struct {
  74. Id int `json:"id" v:"required#会议ID不能为空"`
  75. }
  76. // PlatMeetingAttendeeRsp 参会人员响应
  77. type PlatMeetingAttendeeRsp struct {
  78. Id uint64 `json:"id"`
  79. MeetingId int `json:"meetingId"`
  80. UserId int `json:"userId"`
  81. UserName string `json:"userName"`
  82. WorkHourGenerated int `json:"workHourGenerated"`
  83. CreatedTime *gtime.Time `json:"createdTime"`
  84. }
  85. // PlatMeetingAddAttendeeReq 追加参会人员请求
  86. type PlatMeetingAddAttendeeReq struct {
  87. MeetingId int `json:"meetingId" v:"required#会议ID不能为空"`
  88. UserIds []int `json:"userIds" v:"required#参会人员不能为空"`
  89. UserNames []string `json:"userNames" v:"required#参会人员不能为空"`
  90. }
  91. // PlatMeetingWorkHourRsp 会议工时响应
  92. type PlatMeetingWorkHourRsp struct {
  93. Id uint64 `json:"id"`
  94. MeetingId int `json:"meetingId"`
  95. AttendeeId int `json:"attendeeId"`
  96. UserId int `json:"userId"`
  97. UserName string `json:"userName"`
  98. WorkDate *gtime.Time `json:"workDate"`
  99. WorkHour float64 `json:"workHour"`
  100. Remark string `json:"remark"`
  101. }