wip event mapper

This commit is contained in:
salam committed 2026-02-04 12:47:48 +01:00
1 parent 75b8c6c3ab
commit 3a289dd776
17 files changed
+273 -157

No files matched your search

+5
View File
@@ -14,6 +14,11 @@ class CompetitionGroup extends Model
'level',
];
public function event()
{
return $this->belongsTo(Event::class, 'id', 'competition_group_id');
}
public function sport()
{
return $this->belongsTo(Sport::class);