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.
sonic/model/param/attachment.go

15 lines
412 B
Go

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"`
}