42 lines
720 B
PHP
42 lines
720 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class EventBookmaker extends Model
|
|
{
|
|
protected $fillable = [
|
|
'event_id',
|
|
'bookmaker_id',
|
|
'bmoid',
|
|
'in_feed',
|
|
'send_status',
|
|
'starttime',
|
|
'bkm_2w',
|
|
'bkm_2ws1',
|
|
'bkm_3w',
|
|
'bkm_3wht',
|
|
'bkm_dc',
|
|
'bkm_dbn',
|
|
'bkm_ggng',
|
|
'bkm_po',
|
|
'bkm_poht',
|
|
'bkm_poq1',
|
|
'bkm_to',
|
|
'bkm_toht',
|
|
'bkm_toq1',
|
|
'bkm_tq',
|
|
];
|
|
|
|
public function event()
|
|
{
|
|
return $this->belongsTo(Event::class);
|
|
}
|
|
|
|
public function bookmaker()
|
|
{
|
|
return $this->belongsTo(Bookmaker::class);
|
|
}
|
|
}
|