'integer', 'discountAmount' => 'integer', 'new' => 'bool', 'enabled' => 'bool']; } public function categories(): BelongsToMany { return $this->belongsToMany(ShopCategory::class, 'store_category_service_link', 'service', 'category'); } public function scopeOrdered(Builder $query): Builder { return $query->orderBy('id'); } }