44 lines
796 B
PHP
44 lines
796 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class EventBookmaker extends Model
|
|
{
|
|
protected $fillable = [
|
|
'event_id',
|
|
'bookmaker_id',
|
|
'starttime',
|
|
'bmoid',
|
|
'in_feed',
|
|
'is_swopped',
|
|
'send_status',
|
|
'has_to_qualify',
|
|
'alarm_2w',
|
|
'alarm_2ws1',
|
|
'alarm_3w',
|
|
'alarm_3wht',
|
|
'alarm_dc',
|
|
'alarm_dbn',
|
|
'alarm_ggng',
|
|
'alarm_po',
|
|
'alarm_poht',
|
|
'alarm_poq1',
|
|
'alarm_to',
|
|
'alarm_toht',
|
|
'alarm_toq1',
|
|
'alarm_tq',
|
|
];
|
|
|
|
public function event()
|
|
{
|
|
return $this->belongsTo(Event::class);
|
|
}
|
|
|
|
public function bookmaker()
|
|
{
|
|
return $this->belongsTo(Bookmaker::class);
|
|
}
|
|
}
|