mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 16:13:59 +08:00
21 lines
614 B
Go
21 lines
614 B
Go
package model
|
|
|
|
type AgentAccount struct {
|
|
BaseModel
|
|
Provider string `json:"provider"`
|
|
Name string `json:"name"`
|
|
APIKey string `json:"apiKey"`
|
|
BaseURL string `json:"baseUrl"`
|
|
APIType string `json:"apiType"`
|
|
AuthMode string `json:"authMode"`
|
|
VerifyModel string `json:"verifyModel"`
|
|
RememberAPIKey bool `json:"rememberApiKey"`
|
|
Verified bool `json:"verified"`
|
|
Remark string `json:"remark"`
|
|
MasterAccountID uint `json:"masterAccountId" gorm:"index"`
|
|
}
|
|
|
|
func (AgentAccount) TableName() string {
|
|
return "agent_provider_accounts"
|
|
}
|