portal/db/models/blocklist.go

18 lines
208 B
Go
Raw Normal View History

package models
import (
"gorm.io/gorm"
"time"
)
type Blocklist struct {
gorm.Model
IP string
Reason string
BlockedAt time.Time
}
2024-01-16 05:11:12 +00:00
func (Blocklist) TableName() string {
return "blocklist"
}