open/model/ban_ip.go

8 lines
154 B
Go
Raw Normal View History

2025-02-28 19:15:32 +08:00
package model
type BanIP struct {
IP string `json:"ip"`
Attempts int `json:"attempts"`
ExpiredAt int64 `json:"expired_at" gorm:"index"`
}