mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-23 14:57:50 +08:00
11 lines
295 B
Go
11 lines
295 B
Go
package model
|
|
|
|
type Favorite struct {
|
|
BaseModel
|
|
Name string `gorm:"type:varchar(256);not null;" json:"name" `
|
|
Path string `gorm:"type:varchar(256);not null;unique" json:"path"`
|
|
Type string `gorm:"type:varchar(64);" json:"type"`
|
|
IsDir bool `json:"isDir"`
|
|
IsTxt bool `json:"isTxt"`
|
|
}
|