1Panel/backend/app/model/database.go
2022-10-18 11:30:02 +08:00

11 lines
407 B
Go

package model
type Database struct {
BaseModel
AppInstallId uint `json:"appInstallId" gorm:"type:integer;not null"`
Key string `json:"key" gorm:"type:varchar(64);not null"`
Dbname string `json:"dbname" gorm:"type:varchar(256);not null"`
Username string `json:"username" gorm:"type:varchar(256);not null"`
Password string `json:"password" gorm:"type:varchar(256);not null"`
}