service.xpcool.com/internal/model/do/server_security_log.go

19 lines
576 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Package do 定义服务器安全日志数据对象(手写,未跑 gf gen
// 字段类型统一用 any与 gf gen 产物保持一致。
package do
import "github.com/gogf/gf/v2/frame/g"
// ServerSecurityLog 安全日志表 DO。
type ServerSecurityLog struct {
g.Meta `orm:"table:server_security_log, do:true"`
Id any // 主键
LogTime any // 事件发生时间
SrcIp any // 来源IP
SrcPort any // 来源端口
DestPort any // 目标端口
EventType any // 事件类型
Detail any // 日志详情
CreatedAt any // 入库时间
}