mirror of https://github.com/1Panel-dev/1Panel
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.
11 lines
295 B
11 lines
295 B
1 year ago
|
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"`
|
||
|
}
|