'decimal:2', 'fat' => 'decimal:2', 'saturated_fat' => 'decimal:2', 'carbohydrates' => 'decimal:2', 'sugars' => 'decimal:2', 'protein' => 'decimal:2', 'salt' => 'decimal:2', ]; public function slots(): BelongsToMany { return $this->belongsToMany(Slot::class, 'slot_product') ->withPivot('quantity', 'current_price') ->withTimestamps(); } /** * Beziehung zum Mandanten */ public function tenant() { return $this->belongsTo(Tenant::class); } }