'datetime', 'blocked_until' => 'datetime', ]; public function isBlocked(): bool { return $this->blocked_until !== null && $this->blocked_until->isFuture(); } public function scopeActive(Builder $query): Builder { return $query->where('blocked_until', '>', now()); } }