1Panel/core/app/model/host.go
ssongliu 37df602ae8
Some checks failed
sync2gitee / repo-sync (push) Failing after -8m3s
feat: 提取分组及快速命令功能 (#6169)
2024-08-19 10:04:43 +00:00

18 lines
612 B
Go

package model
type Host struct {
BaseModel
GroupID uint `gorm:"not null" json:"group_id"`
Name string `gorm:"not null" json:"name"`
Addr string `gorm:"not null" json:"addr"`
Port int `gorm:"not null" json:"port"`
User string `gorm:"not null" json:"user"`
AuthMode string `gorm:"not null" json:"authMode"`
Password string `json:"password"`
PrivateKey string `json:"privateKey"`
PassPhrase string `json:"passPhrase"`
RememberPassword bool `json:"rememberPassword"`
Description string `json:"description"`
}