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.
56 lines
3.7 KiB
56 lines
3.7 KiB
package model
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
type Video struct {
|
|
Id uint `json:"id" description:""`
|
|
Title string `json:"title" description:"标题"`
|
|
TitleSub string `json:"title_sub" description:"副标"`
|
|
Letter string `json:"letter" description:"首字母"`
|
|
Tag string `json:"tag" description:"TAG"`
|
|
Color string `json:"color" description:"颜色"`
|
|
Lock uint `json:"lock" description:"锁定"`
|
|
Copyright uint `json:"copyright" description:"版权"`
|
|
IsEnd uint `json:"is_end" description:"完结"`
|
|
Status uint `json:"status" description:"状态"`
|
|
Class string `json:"class" description:"扩展分类"`
|
|
CategoryId uint `json:"category_id" description:"分类"`
|
|
Pic string `json:"pic" description:"图片"`
|
|
PicId string `json:"pic_id" description:"图片编号"`
|
|
PicLocal string `json:"pic_local" description:""`
|
|
PicThumb string `json:"pic_thumb" description:"缩略图"`
|
|
PicSlide string `json:"pic_slide" description:"轮播"`
|
|
PicScreenshot string `json:"pic_screenshot" description:"截图"`
|
|
PicStatus uint `json:"pic_status" description:"图片状态"`
|
|
Actor string `json:"actor" description:"演员"`
|
|
Director string `json:"director" description:"导演"`
|
|
Writer string `json:"writer" description:"编剧"`
|
|
Remarks string `json:"remarks" description:"备注"`
|
|
Pubdate string `json:"pubdate" description:"发布时间"`
|
|
Total int `json:"total" description:"总集数"`
|
|
Serial string `json:"serial" description:"连载数"`
|
|
Duration string `json:"duration" description:"视频时长"`
|
|
Tv string `json:"tv" description:"电视频道"`
|
|
Weekday string `json:"weekday" description:"节目周期"`
|
|
Area string `json:"area" description:"地区"`
|
|
Lang string `json:"lang" description:"语言"`
|
|
Jumpurl string `json:"jumpurl" description:"跳转URL"`
|
|
Version string `json:"version" description:"资源版本"`
|
|
Year int `json:"year" description:"年份"`
|
|
State string `json:"state" description:"资源类别"`
|
|
DoubanScore float64 `json:"douban_score" description:"豆瓣评分"`
|
|
DoubanId int `json:"douban_id" description:"豆瓣ID"`
|
|
Up int `json:"up" description:"顶"`
|
|
Down int `json:"down" description:"踩"`
|
|
Hits int `json:"hits" description:"人气"`
|
|
HitsMonth int `json:"hits_month" description:"月人气"`
|
|
HitsWeek int `json:"hits_week" description:"周人气"`
|
|
HitsDay int `json:"hits_day" description:"天人气"`
|
|
Content string `json:"content" description:"内容"`
|
|
Blurb string `json:"blurb" description:"简要介绍"`
|
|
CreatedAt *gtime.Time `json:"created_at" description:""`
|
|
UpdatedAt *gtime.Time `json:"updated_at" description:""`
|
|
ActorList []string `json:"actor_list" description:"演员"`
|
|
DirectorList []string `json:"director_list" description:"导演"`
|
|
WriterList []string `json:"writer_list" description:"编剧"`
|
|
}
|