belongsTo(User::class, "owner_id"); } public function previousOwner(): BelongsTo { return $this->belongsTo(User::class, "previous_owner_id"); } protected static function newFactory(): KeyFactory { return KeyFactory::new(); } }