17 lines
381 B
Go
17 lines
381 B
Go
package model
|
|
|
|
import (
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
// User 用户模型
|
|
type ExhVideo struct {
|
|
gorm.Model
|
|
ID int32 `gorm:"not null "`
|
|
UserId int32 `gorm:"not null default:0"`
|
|
Url string `gorm:"type:varchar(256) default ''"`
|
|
Types string `gorm:"type:varchar(25) default ''"`
|
|
Remarks string `gorm:"type:varchar(1024) default ''"`
|
|
Enable bool `gorm:"default:false"`
|
|
}
|