Class is not a valid entity or mapped super class

Hallo,

ich versuche ein ganzes einfaches Model zu erstellen und dann die Datenbank mit den dazuhörigen Spalten erzeugen zu lassen:

Questions.php:

fmQuestions.php (Plugin Klasse):

createSchema();
        }

        public function createSchema()
        {
            $entityManager = $this->container->get('models');

            $tool = new SchemaTool($entityManager);

            $tool->createSchema([
                $entityManager->getClassMetadata(Questions::class)
            ]);

        }

    }

Fehlermeldung: Class “fmQuestions\Models\Questions” sub class of “Shopware\Components\Model\ModelEntity” is not a valid entity or mapped super class.

Please refer

https://linkstraffic.net/class-is-not-a-valid-entity-or-mapped-super-class-zf3/