27 lines
438 B
PHP
27 lines
438 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class EventBookmaker extends Model
|
|
{
|
|
protected $fillable = [
|
|
'event_id',
|
|
'bookmaker_id',
|
|
'bmoid',
|
|
'send_status',
|
|
'bkm_starttime',
|
|
];
|
|
|
|
public function event()
|
|
{
|
|
return $this->belongsTo(Event::class);
|
|
}
|
|
|
|
public function bookmaker()
|
|
{
|
|
return $this->belongsTo(Bookmaker::class);
|
|
}
|
|
}
|