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.
 
 
 
 
 
 

12 lines
230 B

package model
import "time"
type Favorite struct {
ID int64 `gorm:"primarykey"`
UserId int64 `gorm:"index:user_id"`
VideoId int64 `gorm:"index:video_id"`
Status int
CreatedAt time.Time
UpdatedAt time.Time
}