29 lines
508 B
PHP
29 lines
508 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class AlarmSetting extends Model
|
|
{
|
|
protected $fillable = [
|
|
'client_bookmaker_id',
|
|
'sport_id',
|
|
'disabled',
|
|
'multiline_setting_id',
|
|
'name',
|
|
'level_id',
|
|
'alarm_threshold',
|
|
];
|
|
|
|
public function multiline_setting()
|
|
{
|
|
return $this->belongsTo(MultilineSetting::class);
|
|
}
|
|
|
|
public function sport()
|
|
{
|
|
return $this->belongsTo(Sport::class);
|
|
}
|
|
}
|