parent
4c1ece4b96
commit
71e668c005
@ -0,0 +1,17 @@
|
||||
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"`
|
||||
}
|
Loading…
Reference in new issue