'boolean', 'read_at' => 'datetime', ]; } protected function formattedReadAt(): Attribute { return Attribute::make( get: fn () => $this->read_at?->translatedFormat('l, d F Y H:i'), ); } public function user(): BelongsTo { return $this->belongsTo(User::class); } }