wip grap ss tournament

This commit is contained in:
salam committed 2026-06-07 07:18:22 +02:00
1 parent d4dfb9748c
commit 292acb879e
31 files changed
+4025 -224

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SofaScoreTournament extends Model
{
protected $fillable = [
'id',
'sport_id',
'tournament_id',
'sofa_score_categorie_id',
'name',
'slug',
'grap',
];
public function sport()
{
return $this->belongsTo(Sport::class);
}
public function sofascore_category()
{
return $this->belongsTo(SofaScoreCategorie::class, 'sofa_score_categorie_id', 'id');
}
}