2024-07-23 14:48:37 +08:00
|
|
|
package model
|
|
|
|
|
|
|
|
type DatabaseMysql struct {
|
|
|
|
BaseModel
|
2024-08-14 10:43:32 +08:00
|
|
|
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"`
|
2024-07-23 14:48:37 +08:00
|
|
|
}
|