feat(clients): add client ownership for tenants

This commit is contained in:
2026-08-18 16:16:06 -03:00
parent a8973f6171
commit 38e87fff6c
3 changed files with 15 additions and 31 deletions

View File

@@ -2,7 +2,6 @@
namespace App\Domains\Client\Models;
use App\Domains\Integration\Models\ClientIntegration;
use App\Domains\Tenant\Models\Tenant;
use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Model;
@@ -21,10 +20,4 @@ class Client extends Model
{
return $this->hasMany(Tenant::class);
}
/** @return HasMany<ClientIntegration, $this> */
public function integrations(): HasMany
{
return $this->hasMany(ClientIntegration::class);
}
}