wip matches

This commit is contained in:
salam committed 2025-08-27 12:51:03 +02:00
1 parent adb15e701b
commit 7116d3c576
33 files changed
+379 -176

No files matched your search

+35 -1
View File
@@ -6,5 +6,39 @@ use Illuminate\Database\Eloquent\Model;
class Event extends Model
{
//
protected $fillable = [
'starttime',
'sport_id',
'provider_id',
'txodds_id',
'betaid_id',
'betradar_id',
'magnig_id',
'magken_id',
'lognig_id',
'logcol_id',
'liga_id',
'home_id',
'away_id',
];
public function home()
{
return $this->belongsTo(Element::class);
}
public function away()
{
return $this->belongsTo(Element::class);
}
public function sport()
{
return $this->belongsTo(Sport::class);
}
public function liga()
{
return $this->belongsTo(Liga::class);
}
}