mirror of
https://github.com/Damillora/Shioriko.git
synced 2024-11-14 01:17:31 +00:00
21 lines
644 B
Go
21 lines
644 B
Go
package models
|
|
|
|
type PostReadModel struct {
|
|
ID string `json:"id"`
|
|
ImagePreviewPath string `json:"preview_path"`
|
|
ImagePath string `json:"image_path"`
|
|
SourceURL string `json:"source_url"`
|
|
Tags []TagListItem `json:"tags"`
|
|
Width int `json:"width"`
|
|
Height int `json:"height"`
|
|
Uploader string `json:"uploader"`
|
|
}
|
|
|
|
type TagReadModel struct {
|
|
TagID string `json:"tagId"`
|
|
TagName string `json:"tagName"`
|
|
TagType string `json:"tagType"`
|
|
TagNote string `json:"tagNote"`
|
|
PostCount int `json:"postCount"`
|
|
}
|