package model import "time" type Log struct { Id int64 Uid int64 HostId int64 Action string Operate string CreatedAt time.Time UpdatedAt time.Time } func (m *Log) TableName() string { return "shd_waf_log" }