grapper betsapi fixtures
This commit is contained in:
1 parent
cec5a5e2f7
commit
e90a6c71f6
18 files changed
+3335
-3054
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CompetitionGroupProvider extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'sport_id',
|
||||
'competition_group_id',
|
||||
'provider_id',
|
||||
'provider_group_id',
|
||||
'name',
|
||||
];
|
||||
|
||||
public function competition_group()
|
||||
{
|
||||
return $this->belongsTo(CompetitionGroup::class);
|
||||
}
|
||||
|
||||
public function provider()
|
||||
{
|
||||
return $this->belongsTo(Provider::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user