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

29 lines
888 B
Go
Raw Normal View History

2021-11-04 19:39:59 +08:00
package request
import (
2021-11-08 15:12:15 +08:00
"goweb-gin-demo/model/common"
2021-11-04 19:39:59 +08:00
"goweb-gin-demo/model/common/request"
"goweb-gin-demo/model/wt"
)
2021-11-06 12:59:51 +08:00
//query参数要用: form, 而不是json
2021-11-08 15:12:15 +08:00
type WtReportsSearch struct {
2021-11-08 18:06:18 +08:00
CurrUserId uint `form:"currUserId"`
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
}
2021-11-08 15:12:15 +08:00
type WtReportsVO struct {
ID uint `json:"id" form:"id"`
UserName string `json:"userName"`
UserId int `form:"userId"`
SendTo []common.UserInfo `json:"sendTo"`
Header string `json:"header"`
Contents []wt.Contents `json:"contents"`
Pictures []wt.UploadFileJson `json:"pictures"`
2021-11-04 19:39:59 +08:00
Attachments []wt.UploadFileJson `json:"attachments"`
}