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.
28 lines
773 B
28 lines
773 B
package pgc |
|
|
|
import "go-common/library/time" |
|
|
|
// Content content def. |
|
type Content struct { |
|
ID int64 `json:"id"` |
|
Title string `json:"title"` |
|
Subtitle string `json:"subtitle"` |
|
Desc string `json:"desc"` |
|
Cover string `json:"cover"` |
|
EPID int `json:"epid"` |
|
CID int `json:"cid"` |
|
MenuID int `json:"menu_id"` |
|
SeasonID int `json:"season_id"` |
|
State int `json:"state"` |
|
Valid int `json:"valid"` |
|
PayStatus int `json:"pay_status"` |
|
IsDeleted int `json:"is_deleted"` |
|
AuditTime int `json:"audit_time"` |
|
Ctime time.Time `json:"ctime"` |
|
Mtime time.Time `json:"mtime"` |
|
} |
|
|
|
// TableName tv_content |
|
func (c Content) TableName() string { |
|
return "tv_content" |
|
}
|
|
|