add more bettypes to comp with dds for sports
This commit is contained in:
1 parent
61418c8cee
commit
1aa044fff1
14 files changed
+69
-56
No files matched your search
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class OddsPointQ1 extends Model
|
||||
{
|
||||
protected $table = 'odds_points_q1';
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'event_id',
|
||||
'sport_id',
|
||||
'bookmaker_id',
|
||||
'provider_id',
|
||||
'offer_id',
|
||||
'bmoid',
|
||||
'home',
|
||||
'away',
|
||||
'handicap',
|
||||
'margin',
|
||||
'flag',
|
||||
'nuh_check',
|
||||
'add_time',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function sport()
|
||||
{
|
||||
return $this->belongsTo(Sport::class);
|
||||
}
|
||||
|
||||
public function bookmaker()
|
||||
{
|
||||
return $this->belongsTo(Bookmaker::class);
|
||||
}
|
||||
|
||||
public function event()
|
||||
{
|
||||
return $this->belongsTo(Event::class);
|
||||
}
|
||||
|
||||
public function provider()
|
||||
{
|
||||
return $this->belongsTo(Provider::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user