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.
1Panel/agent/app/model/favorite.go

11 lines
234 B

package model
type Favorite struct {
BaseModel
Name string `gorm:"not null;" json:"name" `
Path string `gorm:"not null;unique" json:"path"`
Type string `json:"type"`
IsDir bool `json:"isDir"`
IsTxt bool `json:"isTxt"`
}