'boolean', 'read_at' => 'datetime', ]; } public function getActivitylogOptions(): LogOptions { return LogOptions::defaults() ->logAll() ->logOnlyDirty() ->dontLogEmptyChanges(); } 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); } }