gofiber-study/model/generic/models/waf.go

15 lines
282 B
Go
Raw Normal View History

package models
import (
"gofiber.study.skcks.cn/common/time"
)
type Waf struct {
Ip string `xorm:"not null pk VARCHAR(255)" json:"ip"`
CreateTime time.Time `xorm:"not null DATETIME(6) created" json:"createTime"`
}
func (m *Waf) TableName() string {
return "waf"
}