This commit is contained in:
salam committed 2026-07-29 13:16:43 +02:00
1 parent 8c235ef82c
commit acf74c5e82
8 files changed
+593 -90

No files matched your search

+9
View File
@@ -7,14 +7,23 @@ use Illuminate\Database\Eloquent\Model;
class SofaScoreRosa extends Model
{
protected $fillable = [
'sport_id',
'ssteam_id',
'ssteam_name',
'ss_tournament_id',
'country_id',
'is_active',
'grapped',
'disabled',
];
public function country()
{
return $this->belongsTo(Country::class);
}
public function tournament()
{
return $this->belongsTo(SofaScoreTournament::class, 'ss_tournament_id', 'tournament_id');
}
}