<?php  namespace App\Models;  use App\Traits\UsesSlug; use App\Traits\HasMarkets; use App\Traits\HasTranslations; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; use App\Contracts\HasTranslations as HasTranslationsContract;  class Navigation extends Model implements HasTranslationsContract { 	use HasMarkets, HasTranslations, UsesSlug;  	public array $translatable = [ 		'name', 		'slug', 	];  	public $casts = [ 		'active' => 'boolean', 	];  	public function parent(): BelongsTo{}  	public function children(): HasMany{}  	public function scopeWithoutSelf(Builder $query, Navigation $self): Builder{}  	public function scopeTopLevel(Builder $query): Builder{}  	public function page(): BelongsTo{}  	public static function getSlugFieldName(): string 	{ 		return 'slug'; 	}  	protected static function boot(): void 	{ 		parent::boot();  		static::addGlobalScope('currentMarket', function (object $builder) { 			$builder->onCurrentMarket(); 		});  		static::addGlobalScope('latest', function (object $builder) { 			$builder->latest(); 		}); 	} }