mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-15 09:18:59 +08:00
15 lines
520 B
Go
15 lines
520 B
Go
package model
|
|
|
|
type DatabaseMysql struct {
|
|
BaseModel
|
|
Name string `json:"name" gorm:"not null"`
|
|
From string `json:"from" gorm:"not null;default:local"`
|
|
MysqlName string `json:"mysqlName" gorm:"not null"`
|
|
Format string `json:"format" gorm:"not null"`
|
|
Username string `json:"username" gorm:"not null"`
|
|
Password string `json:"password" gorm:"not null"`
|
|
Permission string `json:"permission" gorm:"not null"`
|
|
IsDelete bool `json:"isDelete"`
|
|
Description string `json:"description"`
|
|
}
|