некоторое исправление

This commit is contained in:
Дмитрий Саенко 2025-10-22 14:03:46 +03:00
parent b687487aff
commit 0faf959c49

View file

@ -125,7 +125,7 @@ type Server struct {
Name string `json:"name" gorm:"unique;not null" form:"name"` Name string `json:"name" gorm:"unique;not null" form:"name"`
Address string `json:"address" gorm:"not null" form:"address"` Address string `json:"address" gorm:"not null" form:"address"`
Port int `json:"port" gorm:"not null" form:"port"` Port int `json:"port" gorm:"not null" form:"port"`
SecretWebPath string `json:"secretWebPath" gorm:"not null" form:"secretWebPath"` SecretWebPath string `json:"secretWebPath" form:"secretWebPath"`
APIKey string `json:"apiKey" gorm:"not null" form:"apiKey"` APIKey string `json:"apiKey" gorm:"not null" form:"apiKey"`
Enable bool `json:"enable" gorm:"default:true" form:"enable"` Enable bool `json:"enable" gorm:"default:true" form:"enable"`
} }