NotifStyle::class, 'top_navigation' => 'boolean', ]; } // --- Accessors & Mutators --- protected function formattedCreatedAt(): Attribute { return Attribute::get(fn () => $this->created_at->translatedFormat('l, d M Y H:i')); } protected function formattedUpdatedAt(): Attribute { return Attribute::get(fn () => $this->updated_at?->translatedFormat('l, d M Y H:i')); } // --- Relations --- public function user(): BelongsTo { return $this->belongsTo(User::class); } }