1Panel/backend/app/model/app_install_backup.go

12 lines
469 B
Go
Raw Normal View History

2022-10-12 18:57:22 +08:00
package model
type AppInstallBackup struct {
BaseModel
Name string `gorm:"type:varchar(64);not null" json:"name"`
Path string `gorm:"type:varchar(64);not null" json:"path"`
Param string `gorm:"type:longtext;" json:"param"`
AppDetailId uint `gorm:"type:integer;not null" json:"app_detail_id"`
AppInstallId uint `gorm:"type:integer;not null" json:"app_install_id"`
AppDetail AppDetail `json:"-" gorm:"-:migration"`
2022-10-12 18:57:22 +08:00
}