public function providers(): BelongsToMany
{
return $this->belongsToMany(Provider::class, 'provider_services')
->using(ProviderServicePivot::class)
->withPivot('extra', 'is_enabled')
->withTimestamps();
}
public function providers(): BelongsToMany
{
return $this->belongsToMany(Provider::class, 'provider_services')
->using(ProviderServicePivot::class)
->withPivot('extra', 'is_enabled')
->withTimestamps();
}