This commit is contained in:
salam committed 2026-01-26 18:26:02 +01:00
1 parent 9ca5657827
commit 6f3d608704
47 files changed
+1005 -145

No files matched your search

+19 -1
View File
@@ -6,5 +6,23 @@ 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);
}
}
+46 -14
View File
@@ -8,6 +8,7 @@ class EventBookmaker extends Model
{
protected $fillable = [
'event_id',
'sport_id',
'bookmaker_id',
'starttime',
'bmoid',
@@ -15,20 +16,51 @@ class EventBookmaker extends Model
'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',
'alarm_2w_h2w',
'alarm_2w_a2w',
'alarm_2ws1_h2w',
'alarm_2ws1_a2w',
'alarm_3w_h3w',
'alarm_3w_d3w',
'alarm_3w_a3w',
'alarm_3wht_h3w',
'alarm_3wht_d3w',
'alarm_3wht_a3w',
'alarm_dc_dc1x',
'alarm_dc_dc12',
'alarm_dc_dcx2',
'alarm_dbn_dnb1',
'alarm_dbn_dnb2',
'alarm_ggng_gg',
'alarm_ggng_ng',
'alarm_po_home',
'alarm_po_away',
'alarm_poht_home',
'alarm_poht_away',
'alarm_poq1_home',
'alarm_poq1_away',
'alarm_to_over',
'alarm_to_under',
'alarm_toht_over',
'alarm_toht_under',
'alarm_toq1_over',
'alarm_toq1_under',
'alarm_tq_htq',
'alarm_tq_atq',
];
public function event()