2021-05-09 22:07:23 +07:00
|
|
|
package models
|
|
|
|
|
|
|
|
type TagTypeListItem struct {
|
|
|
|
ID uint `json:"id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type TagListItem struct {
|
2021-09-11 01:26:54 +07:00
|
|
|
TagID string `json:"tagId"`
|
|
|
|
TagName string `json:"tagName"`
|
|
|
|
TagType string `json:"tagType"`
|
|
|
|
PostCount int `json:"postCount"`
|
2021-05-09 22:07:23 +07:00
|
|
|
}
|
|
|
|
|
2021-09-11 01:56:42 +07:00
|
|
|
type TagAutocompleteListItem struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
}
|
|
|
|
|
2021-05-09 22:07:23 +07:00
|
|
|
type PostListItem struct {
|
2022-04-15 00:12:07 +07:00
|
|
|
ID string `json:"id"`
|
|
|
|
ImagePath string `json:"image_path"`
|
|
|
|
ImageThumbnailPath string `json:"thumbnail_path"`
|
2021-05-09 22:07:23 +07:00
|
|
|
}
|
2021-05-12 01:22:46 +07:00
|
|
|
|
|
|
|
type PostSimilarityListItem struct {
|
|
|
|
ID string `json:"id"`
|
|
|
|
Distance int `json:"distance"`
|
|
|
|
}
|