hrsystem write fix (#13314)

This commit is contained in:
SourceDoctor
2021-10-03 01:03:24 +02:00
committed by GitHub
parent e5f540eed8
commit 30c20fa11f
3 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ class HrSystem extends DeviceRelatedModel
{
public $timestamps = false;
protected $table = 'hrSystem';
protected $fillable = ['hrSystemNumUsers', 'hrSystemProcesses', 'hrSystemMaxProcesses'];
protected $fillable = ['device_id', 'hrSystemNumUsers', 'hrSystemProcesses', 'hrSystemMaxProcesses'];
protected $primaryKey = 'hrSystem_id';
}