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.
16 lines
656 B
16 lines
656 B
2 years ago
|
package model
|
||
|
|
||
|
type App struct {
|
||
|
BaseModel
|
||
|
Name string `json:"name" gorm:"type:varchar(64);not null"`
|
||
|
Key string `json:"key" gorm:"type:varchar(64);not null;uniqueIndex"`
|
||
|
ShortDesc string `json:"shortDesc" gorm:"type:longtext;"`
|
||
|
Icon string `json:"icon" gorm:"type:longtext;"`
|
||
|
Author string `json:"author" gorm:"type:varchar(64);not null"`
|
||
|
Source string `json:"source" gorm:"type:varchar(64);not null"`
|
||
|
Type string `json:"type" gorm:"type:varchar(64);not null" `
|
||
|
Details []*AppDetail `json:"-"`
|
||
|
TagsKey []string `json:"-" gorm:"-"`
|
||
|
AppTags []AppTag `json:"-"`
|
||
|
}
|