mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 16:13:59 +08:00
#### What this PR does / why we need it? Refs https://github.com/1Panel-dev/1Panel/issues/7759 #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
13 lines
416 B
Go
13 lines
416 B
Go
package model
|
|
|
|
type DatabaseMongodb struct {
|
|
BaseModel
|
|
Name string `json:"name" gorm:"not null"`
|
|
From string `json:"from" gorm:"not null;default:local"`
|
|
MongodbName string `json:"mongodbName" gorm:"not null"`
|
|
Username string `json:"username" gorm:"not null"`
|
|
Password string `json:"password" gorm:"not null"`
|
|
IsDelete bool `json:"isDelete"`
|
|
Description string `json:"description"`
|
|
}
|