mirror of https://github.com/1Panel-dev/1Panel
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"`
|
||
|
}
|