|null $details * @property Carbon $created_at */ class AuditLog extends Model { public const LOGIN = 'login'; public const LOGIN_FAILED = 'login_failed'; public const LOGOUT = 'logout'; /** Something that was done in the manager. */ public const ACTION = 'action'; /** A page of the manager that was opened. */ public const VIEWED = 'viewed'; /** Something the account was not allowed to do. */ public const REFUSED = 'refused'; public const BAN = 'ban'; public $timestamps = false; protected function casts(): array { return ['details' => 'array', 'created_at' => 'datetime']; } }