wip event mapper
This commit is contained in:
1 parent
75b8c6c3ab
commit
3a289dd776
17 files changed
+273
-157
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user