'boolean', ]; public function client(): BelongsTo { return $this->belongsTo(Client::class); } public function fournisseur(): BelongsTo { return $this->belongsTo(Fournisseur::class); } /** * Get the contact's full name. */ public function getFullNameAttribute(): string { return trim("{$this->first_name} {$this->last_name}"); } }