Files
2025-08-03 00:11:15 +08:00

24 lines
1.4 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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"` // 删除时间
}