mapper wip
This commit is contained in:
1 parent
20e4154423
commit
07a726f192
3 files changed
+41
No files matched your search
@@ -36,4 +36,9 @@ class Mapper extends Model
|
||||
{
|
||||
return $this->belongsTo(Provider::class);
|
||||
}
|
||||
|
||||
public function sport()
|
||||
{
|
||||
return $this->belongsTo(Sport::class)->where('is_active', 1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user