You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
875 B

package model
import "go-common/library/time"
// AlbumCount album count struct.
type AlbumCount struct {
AllCount int64 `json:"all_count"`
DrawCount int64 `json:"draw_count"`
PhotoCount int64 `json:"photo_count"`
DailyCount int64 `json:"daily_count"`
}
// Album album struct.
type Album struct {
DocID int64 `json:"doc_id"`
PosterUID int64 `json:"poster_uid"`
Title string `json:"title"`
Description string `json:"description"`
Pictures []*PicItem `json:"pictures"`
Count int64 `json:"count"`
Ctime time.Time `json:"ctime"`
View int64 `json:"view"`
Like int64 `json:"like"`
}
// PicItem picture item struct.
type PicItem struct {
ImgSrc string `json:"img_src"`
ImgWidth int `json:"img_width"`
ImgHeight int `json:"img_height"`
ImgSize int `json:"img_size"`
}