2022-09-22 08:16:04 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
type AppDetail struct {
|
|
|
|
BaseModel
|
2023-05-15 14:40:05 +00:00
|
|
|
AppId uint `json:"appId" gorm:"type:integer;not null"`
|
|
|
|
Version string `json:"version" gorm:"type:varchar(64);not null"`
|
|
|
|
Params string `json:"-" gorm:"type:longtext;"`
|
2023-05-22 11:19:40 +00:00
|
|
|
DockerCompose string `json:"dockerCompose" gorm:"type:longtext;"`
|
2023-05-15 14:40:05 +00:00
|
|
|
Status string `json:"status" gorm:"type:varchar(64);not null"`
|
|
|
|
LastVersion string `json:"lastVersion" gorm:"type:varchar(64);"`
|
|
|
|
LastModified int `json:"lastModified" gorm:"type:integer;"`
|
|
|
|
DownloadUrl string `json:"downloadUrl" gorm:"type:varchar;"`
|
|
|
|
DownloadCallBackUrl string `json:"downloadCallBackUrl" gorm:"type:longtext;"`
|
|
|
|
Update bool `json:"update"`
|
2023-07-03 08:36:18 +00:00
|
|
|
IgnoreUpgrade bool `json:"ignoreUpgrade"`
|
2022-09-22 08:16:04 +00:00
|
|
|
}
|