24 lines
1.4 KiB
Go
24 lines
1.4 KiB
Go
package entity
|
||
|
||
// Episode 集数实体
|
||
type Episode struct {
|
||
Id int `json:"id" orm:"id,primary"` // 集数ID
|
||
MovieId int `json:"movie_id" orm:"movie_id"` // 影片ID
|
||
EpisodeNum int `json:"episode_num" orm:"episode_num"` // 集数
|
||
Title string `json:"title" orm:"title"` // 集数标题
|
||
Description string `json:"description" orm:"description"` // 集数简介
|
||
Duration int `json:"duration" orm:"duration"` // 时长(秒)
|
||
VideoUrl string `json:"video_url" orm:"video_url"` // 视频地址
|
||
VideoSize int64 `json:"video_size" orm:"video_size"` // 视频大小(字节)
|
||
VideoFormat string `json:"video_format" orm:"video_format"` // 视频格式
|
||
Resolution string `json:"resolution" orm:"resolution"` // 分辨率
|
||
Thumbnail string `json:"thumbnail" orm:"thumbnail"` // 缩略图
|
||
ViewCount int `json:"view_count" orm:"view_count"` // 观看次数
|
||
IsVip int `json:"is_vip" orm:"is_vip"` // 是否VIP专享:0-否,1-是
|
||
Sort int `json:"sort" orm:"sort"` // 排序
|
||
Status int `json:"status" orm:"status"` // 状态:1-正常,0-下架
|
||
CreatedAt string `json:"created_at" orm:"created_at"` // 创建时间
|
||
UpdatedAt string `json:"updated_at" orm:"updated_at"` // 更新时间
|
||
DeletedAt string `json:"deleted_at" orm:"deleted_at"` // 删除时间
|
||
}
|