package models import "time" // LoginAudit captures authentication access history. type LoginAudit struct { ID int `json:"id" db:"id"` UserID string `json:"userId" db:"user_id"` Identifier string `json:"identifier" db:"identifier"` Roles string `json:"roles" db:"roles"` IPAddress *string `json:"ipAddress,omitempty" db:"ip_address"` UserAgent *string `json:"userAgent,omitempty" db:"user_agent"` CreatedAt time.Time `json:"createdAt" db:"created_at"` }