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.
20 lines
679 B
Go
20 lines
679 B
Go
package dto
|
|
|
|
import (
|
|
"github.com/go-sonic/sonic/consts"
|
|
)
|
|
|
|
type AttachmentDTO struct {
|
|
ID int32 `json:"id"`
|
|
Name string `json:"name"`
|
|
Path string `json:"path"`
|
|
FileKey string `json:"fileKey"`
|
|
ThumbPath string `json:"thumbPath"`
|
|
MediaType string `json:"mediaType"`
|
|
Suffix string `json:"suffix"`
|
|
Width int32 `json:"width"`
|
|
Height int32 `json:"height"`
|
|
Size int64 `json:"size"`
|
|
AttachmentType consts.AttachmentType `json:"type"`
|
|
}
|