parent
ceb8ee72d8
commit
4c1ece4b96
@ -0,0 +1,17 @@
|
||||
package model
|
||||
|
||||
import "github.com/jinzhu/gorm"
|
||||
|
||||
// Folder 目录
|
||||
type Folder struct {
|
||||
// 表字段
|
||||
gorm.Model
|
||||
Name string
|
||||
ParentID uint
|
||||
Position string `gorm:"size:65536"`
|
||||
OwnerID uint
|
||||
PositionAbsolute string `gorm:"size:65536"`
|
||||
|
||||
// 关联模型
|
||||
OptionsSerialized PolicyOption `gorm:"-"`
|
||||
}
|
Loading…
Reference in new issue