|
|
@ -12,6 +12,20 @@ class AdminNotice extends Model |
|
|
|
|
|
|
|
|
protected $table = 'admin_notice'; |
|
|
protected $table = 'admin_notice'; |
|
|
|
|
|
|
|
|
|
|
|
protected $fillable = [ |
|
|
|
|
|
'alarm_time', |
|
|
|
|
|
'alarm_type', |
|
|
|
|
|
'camera_ip', |
|
|
|
|
|
'msg_type', |
|
|
|
|
|
'msg_content', |
|
|
|
|
|
'space_id', |
|
|
|
|
|
'floor_id', |
|
|
|
|
|
'camera_id', |
|
|
|
|
|
'is_read', |
|
|
|
|
|
'user_id', |
|
|
|
|
|
'pattern_id' |
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* The attributes that should be hidden for serialization. |
|
|
* The attributes that should be hidden for serialization. |
|
|
* @var array<int, string> |
|
|
* @var array<int, string> |
|
|
|