wip
This commit is contained in:
1 parent
23cf804865
commit
4e77862aa7
14 files changed
+113
-49
No files matched your search
@@ -11,8 +11,7 @@ class AlarmSetting extends Model
|
||||
'sport_id',
|
||||
'disabled',
|
||||
'multiline_setting_id',
|
||||
'name',
|
||||
'level_id',
|
||||
'alarm_level_id',
|
||||
'alarm_threshold',
|
||||
];
|
||||
|
||||
@@ -25,4 +24,9 @@ class AlarmSetting extends Model
|
||||
{
|
||||
return $this->belongsTo(Sport::class);
|
||||
}
|
||||
|
||||
public function alarm_level()
|
||||
{
|
||||
return $this->belongsTo(AlarmLevel::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user