package model import "time" // APIToken represents a hashed API authentication token for a user. type APIToken struct { ID int64 `json:"id"` UserID int64 `json:"user_id"` TokenHash string `json:"-"` Name string `json:"name"` LastUsedAt *time.Time `json:"last_used_at"` ExpiresAt *time.Time `json:"expires_at"` CreatedAt time.Time `json:"created_at"` }