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
336 B
18 lines
336 B
5 years ago
|
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:"-"`
|
||
|
}
|