belongsTo(Provider::class); } public function sport() { return $this->belongsTo(Sport::class); } public function country() { return $this->belongsTo(Country::class)->where('disabled', 0)->where('is_country', 1); } public function group() { return $this->belongsTo(Group::class); } public function competition_group() { return $this->belongsTo(CompetitionGroup::class); } public function home() { return $this->belongsTo(Element::class); } public function away() { return $this->belongsTo(Element::class); } }