1Panel/agent/app/model/favorite.go
ssongliu 46fda7ecfb
Some checks failed
sync2gitee / repo-sync (push) Failing after -7m49s
fix: 移除 gorm 类型参数 (#6123)
2024-08-14 10:43:32 +08:00

10 lines
234 B
Go

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"`
}