mirror of https://github.com/go-sonic/sonic.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
412 B
Go
15 lines
412 B
Go
2 years ago
|
package param
|
||
|
|
||
|
import "github.com/go-sonic/sonic/consts"
|
||
|
|
||
|
type AttachmentQuery struct {
|
||
|
Page
|
||
|
Keyword string `json:"keyword" form:"keyword"`
|
||
|
MediaType string `json:"mediaType" form:"mediaType"`
|
||
|
AttachmentType *consts.AttachmentType `json:"attachmentType" form:"attachmentType"`
|
||
|
}
|
||
|
|
||
|
type AttachmentUpdate struct {
|
||
|
Name string `json:"name" binding:"gte=1,lte=255"`
|
||
|
}
|