belongsTo(Sport::class); } public function multiline_setting() { return $this->belongsTo(MultilineSetting::class); } public function bookmaker() { return $this->belongsTo(Bookmaker::class, 'bookmaker_id', 'txid'); } protected static function booted(): void { static::addGlobalScope(new ClientScope); static::addGlobalScope(new SportScope); } }