mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
26 lines
1.1 KiB
Go
26 lines
1.1 KiB
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Hosts struct {
|
|
Id int `gorm:"primary_key" json:" - "` //
|
|
USER_CODE string `json:"user_code"`
|
|
Tenant_id string `json:"tenant_id"` //租户ID
|
|
Code string `json:"code"` //唯一码
|
|
Host string `json:"host"` //域名
|
|
Port int `json:"port"` //端口
|
|
Ssl int `json:"ssl"` //是否是ssl
|
|
GUARD_STATUS int `json:"guard_status"` //防御状态
|
|
REMOTE_SYSTEM string `json:"remote_system"` //是宝塔 phpstudy等
|
|
REMOTE_APP string `json:"remote_app"` //是什么类型的应用
|
|
Remote_host string `json:"remote_host"` //远端域名
|
|
Remote_port int `json:"remote_port"` //远端端口
|
|
Certfile string `json:"certfile"` // 证书文件
|
|
Keyfile string `json:"keyfile"` // 密钥文件
|
|
REMARKS string `json:"remarks"` //备注
|
|
CREATE_TIME time.Time `json:"create_time"` //创建时间
|
|
UPDATE_TIME time.Time `json:"update_time"` //更新时间
|
|
}
|