HistoryEntryType::class]; public function client(): BelongsTo { return $this->belongsTo(Client::class); } public function author(): BelongsTo { return $this->belongsTo(User::class, 'author_id'); } public function updatedBy(): BelongsTo { return $this->belongsTo(User::class, 'updated_by'); } protected static function newFactory(): HistoryEntryFactory { return HistoryEntryFactory::new(); } }