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

27 lines
652 B
Go
Raw Normal View History

2021-11-04 19:39:59 +08:00
package request
import (
"goweb-gin-demo/model/common/request"
"goweb-gin-demo/model/wt"
)
2021-11-06 12:59:51 +08:00
//query参数要用: form, 而不是json
2021-11-04 19:39:59 +08:00
type WtReportsSearch struct{
2021-11-06 12:59:51 +08:00
UserId uint `form:"userId"`
StartTime string `form:"startTime" example:"2021-11-04 12:36:34"`
EndTime string `form:"endTime"`
Content string `form:"content" example:"xx项目"`
2021-11-04 19:39:59 +08:00
request.PageInfo
}
type WtReportsVO struct{
ID uint
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"`
}