portal/db/models/blocklist.go

14 lines
147 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
}