package dto import "time" // APIKeyDTO defines inbound payload for API key creation/update. type APIKeyDTO struct { GroupID uint `json:"group_id"` APIKey string `json:"api_key"` Weight int `json:"weight,omitempty"` Status string `json:"status"` AutoBan *bool `json:"auto_ban,omitempty"` BanReason string `json:"ban_reason,omitempty"` BanUntil time.Time `json:"ban_until,omitempty"` }