<?php
namespace Concrete\Core\Entity\Search;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\MappedSuperClass
 */
abstract class SavedSearch
{


    /** @ORM\Embedded(class = "\Concrete\Core\Entity\Search\Query") */
    protected $query = null;

    /**
     * @ORM\Column(type="string")
     */
    protected $presetName;

    /**
     * @return mixed
     */
    public function getID()
    {
        return $this->id;
    }

    /**
     * @return mixed
     */
    public function getPresetName()
    {
        return $this->presetName;
    }

    /**
     * @param mixed $presetName
     */
    public function setPresetName($presetName)
    {
        $this->presetName = $presetName;
    }

    /**
     * @return mixed
     */
    public function getQuery()
    {
        return $this->query;
    }

    /**
     * @param mixed $query
     */
    public function setQuery($query)
    {
        $this->query = $query;
    }



}

<?php
namespace Concrete\Core\Entity\Search;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\MappedSuperClass
 */
abstract class SavedSearch
{


    /** @ORM\Embedded(class = "Query") */
    protected $query = null;

    /**
     * @ORM\Column(type="string")
     */
    protected $presetName;

    /**
     * @return mixed
     */
    public function getID()
    {
        return $this->id;
    }

    /**
     * @return mixed
     */
    public function getPresetName()
    {
        return $this->presetName;
    }

    /**
     * @param mixed $presetName
     */
    public function setPresetName($presetName)
    {
        $this->presetName = $presetName;
    }

    /**
     * @return mixed
     */
    public function getQuery()
    {
        return $this->query;
    }

    /**
     * @param mixed $query
     */
    public function setQuery($query)
    {
        $this->query = $query;
    }



}

--- 
+++ 
@@ -10,7 +10,7 @@
 {
 
 
-    /** @ORM\Embedded(class = "Query") */
+    /** @ORM\Embedded(class = "\Concrete\Core\Entity\Search\Query") */
     protected $query = null;
 
     /**
Fix Query does not exist

Fix "Class PackageClass\Property\Search\Query does not exist" does not exist from custom SavedSearch