wip
This commit is contained in:
1 parent
419148cd18
commit
7abcc5c56c
75 files changed
+32250
-127794
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CompetitionGroup extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'txodds_id',
|
||||
'sport_id',
|
||||
'country_id',
|
||||
];
|
||||
|
||||
public function sport()
|
||||
{
|
||||
return $this->belongsTo(Sport::class);
|
||||
}
|
||||
|
||||
public function country()
|
||||
{
|
||||
return $this->belongsTo(Country::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user