public function companies(): BelongsToMany
{
return $this->belongsToMany(Company::class, 'company_test')
->withPivot('cash_price', 'sponsor_price', 'hc_price', 'transport_price', 'is_active')
->withTimestamps();
}
public function companies(): BelongsToMany
{
return $this->belongsToMany(Company::class, 'company_test')
->withPivot('cash_price', 'sponsor_price', 'hc_price', 'transport_price', 'is_active')
->withTimestamps();
}