mirror of
https://gitee.com/shikong-sk/gofiber-study
synced 2025-02-25 00:02:17 +08:00
15 lines
282 B
Go
15 lines
282 B
Go
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"
|
|
}
|