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

34 lines
653 B
Go
Raw Normal View History

2021-11-04 21:45:07 +08:00
package response
import (
"goweb-gin-demo/global"
"goweb-gin-demo/model/wt"
)
type WtReportsResult struct{
global.GLOBAL_MODEL
2021-11-06 12:59:51 +08:00
WtReportInfo
}
type WtReportInfo struct {
2021-11-04 21:45:07 +08:00
UserName string `json:"userName"`
SendTo []wt.UserInfo `json:"sendTo"`
Header string `json:"header"`
Contents []wt.Contents `json:"contents"`
Pictures []wt.UploadFileJson `json:"pictures"`
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
CommentCount uint `json:"commentCount"`
}