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
276 B
18 lines
276 B
5 years ago
|
package model
|
||
|
|
||
|
import "github.com/jinzhu/gorm"
|
||
|
|
||
|
// File 文件
|
||
|
type File struct {
|
||
|
// 表字段
|
||
|
gorm.Model
|
||
|
Name string
|
||
|
SourceName string
|
||
|
UserID uint
|
||
|
Size uint64
|
||
|
PicInfo string
|
||
|
FolderID uint
|
||
|
PolicyID uint
|
||
|
Dir string `gorm:"size:65536"`
|
||
|
}
|