goweb-gin-demo/server/model/wt/response/wt_reports.go

36 lines
825 B
Go
Raw Normal View History

2021-11-04 21:45:07 +08:00
package response
import (
"goweb-gin-demo/global"
2021-11-08 15:12:15 +08:00
"goweb-gin-demo/model/common"
2021-11-04 21:45:07 +08:00
"goweb-gin-demo/model/wt"
)
2021-11-08 15:12:15 +08:00
type WtReportsResult struct {
2021-11-04 21:45:07 +08:00
global.GLOBAL_MODEL
2021-11-06 12:59:51 +08:00
WtReportInfo
}
type WtReportInfo struct {
2021-11-08 15:12:15 +08:00
UserName string `json:"userName"`
UserId int `json:"userId"`
SendTo []common.UserInfo `json:"sendTo"`
Header string `json:"header"`
Contents []wt.Contents `json:"contents"`
Pictures []wt.UploadFileJson `json:"pictures"`
2021-11-04 21:45:07 +08:00
Attachments []wt.UploadFileJson `json:"attachments"`
}
2021-11-06 12:59:51 +08:00
type WtReportsSearchBO struct {
global.GLOBAL_MODEL
wt.WtReports
CommentCount uint `json:"commentCount"`
}
type WtReportsSearchResult struct {
global.GLOBAL_MODEL
WtReportInfo
2021-11-17 19:40:32 +08:00
NickName string `json:"nickName"`
2021-11-06 12:59:51 +08:00
CommentCount uint `json:"commentCount"`
}