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.
18 lines
730 B
18 lines
730 B
5 months ago
|
package entity
|
||
|
|
||
|
type Srtfile struct {
|
||
|
Id uint `gorm:"column:id;primaryKey;autoIncrement"`
|
||
|
VideoId string `gorm:"column:videoId;type:varchar(255);not null"`
|
||
|
ChannelId string `gorm:"column:channelId;type:varchar(255);not null"`
|
||
|
Ordinal int `gorm:"column:ordinal;type:int(11);not null"`
|
||
|
SrtStartTime string `gorm:"column:srtStartTime;type:varchar(255);not null"`
|
||
|
SrtEndTime string `gorm:"column:srtEndTime;type:varchar(255);not null"`
|
||
|
SrtText string `gorm:"column:srtText;type:varchar(255);not null"`
|
||
|
IsScan int `gorm:"column:isScan;type:int(11);default:null"`
|
||
|
}
|
||
|
|
||
|
// TableName sets the insert table name for this struct type
|
||
|
func (Srtfile) TableName() string {
|
||
|
return "Srtfile"
|
||
|
}
|