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.
14 lines
420 B
14 lines
420 B
6 months ago
|
package entity
|
||
|
|
||
|
type DownloadInfo struct {
|
||
|
Id uint `gorm:"column:id;primaryKey;autoIncrement"`
|
||
|
VideoId string `gorm:"column:videoId;type:varchar(255);not null"`
|
||
|
DownloadType int `gorm:"column:downloadType;not null"`
|
||
|
TryTime int `gorm:"column:tryTIme;not null"`
|
||
|
IsFinished int `gorm:"column:isFinished;not null"`
|
||
|
}
|
||
|
|
||
|
func (DownloadInfo) TableName() string {
|
||
|
return "Download_info"
|
||
|
}
|