|
@@ -25,25 +25,25 @@ func (ETAReport) TableName() string {
|
|
|
}
|
|
|
|
|
|
type ETAReport struct {
|
|
|
- ID int `gorm:"primary_key;auto_increment"`
|
|
|
- ClassifyID int `gorm:"_"`
|
|
|
- ClassifyIDFirst int `gorm:"column:classify_id_first;default:0"`
|
|
|
- ClassifyIDSecond int `gorm:"column:classify_id_second;default:0"`
|
|
|
- ClassifyIDThird int `gorm:"column:classify_id_third;default:0"`
|
|
|
- Title string `gorm:"column:title;size:125;"`
|
|
|
- Abstract string `gorm:"column:abstract;size:255;"`
|
|
|
- Author string `gorm:"column:author;size:50;"`
|
|
|
- PublishTime string `gorm:"column:publish_time"`
|
|
|
- Content string `gorm:"column:content"`
|
|
|
- CollaborateType int `gorm:"column:collaborate_type"`
|
|
|
- ReportLayout int `gorm:"column:report_layout"`
|
|
|
- VideoUrl string `gorm:"column:video_url"`
|
|
|
- VideoName string `gorm:"column:video_name"`
|
|
|
- VideoPlaySeconds string `gorm:"column:video_play_seconds"`
|
|
|
- HeadResourceId int `gorm:"column:head_resource_id"`
|
|
|
- EndResourceId int `gorm:"column:end_resource_id"`
|
|
|
- HasChapter bool `gorm:"column:has_chapter"`
|
|
|
- NeedSplice bool `gorm:"column:need_splice"`
|
|
|
+ ID int `gorm:"primary_key;auto_increment"`
|
|
|
+ ClassifyID int `gorm:"_"`
|
|
|
+ ClassifyIDFirst int `gorm:"column:classify_id_first;default:0"`
|
|
|
+ ClassifyIDSecond int `gorm:"column:classify_id_second;default:0"`
|
|
|
+ ClassifyIDThird int `gorm:"column:classify_id_third;default:0"`
|
|
|
+ Title string `gorm:"column:title;size:125;"`
|
|
|
+ Abstract string `gorm:"column:abstract;size:255;"`
|
|
|
+ Author string `gorm:"column:author;size:50;"`
|
|
|
+ PublishTime time.Time `gorm:"column:publish_time"`
|
|
|
+ Content string `gorm:"column:content"`
|
|
|
+ CollaborateType int `gorm:"column:collaborate_type"`
|
|
|
+ ReportLayout int `gorm:"column:report_layout"`
|
|
|
+ VideoUrl string `gorm:"column:video_url"`
|
|
|
+ VideoName string `gorm:"column:video_name"`
|
|
|
+ VideoPlaySeconds string `gorm:"column:video_play_seconds"`
|
|
|
+ HeadResourceId int `gorm:"column:head_resource_id"`
|
|
|
+ EndResourceId int `gorm:"column:end_resource_id"`
|
|
|
+ HasChapter bool `gorm:"column:has_chapter"`
|
|
|
+ NeedSplice bool `gorm:"column:need_splice"`
|
|
|
}
|
|
|
|
|
|
//type ReportClassify struct {
|