mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-03 09:24:28 +08:00
20 lines
1.0 KiB
Go
20 lines
1.0 KiB
Go
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"`
|
|
Status string `json:"status" gorm:"type:varchar(64);not null"`
|
|
Required string `json:"required" gorm:"type:varchar(64);not null"`
|
|
CrossVersionUpdate bool `json:"crossVersionUpdate"`
|
|
Limit int `json:"limit" gorm:"type:Integer;not null"`
|
|
Details []AppDetail `json:"-"`
|
|
TagsKey []string `json:"-" gorm:"-"`
|
|
AppTags []AppTag `json:"-" `
|
|
}
|