diff --git a/app/Models/AdminNotice.php b/app/Models/AdminNotice.php index ee870de..b00d032 100644 --- a/app/Models/AdminNotice.php +++ b/app/Models/AdminNotice.php @@ -12,6 +12,20 @@ class AdminNotice extends Model 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. * @var array