Doctrine Generate Entites

Hallo,

 

ich bin aus der Symfony2 Welt von Doctriune gewohnt, dass ich in einer Entity Klasse die Mappings angebe und dann getter und setter und repository stubs via CLI bin/console doctrine:generate:entities bekomme…

 

Geht das mit dem neuen Plugin System in Shopware auch?

 

Vielleicht noch als info… bei mir schlägt 

$ ./console orm:validate-schema
[Mapping] FAIL - The entity-class 'Shopware\Models\Newsletter\Address' mapping is invalid:
* The referenced column name 'email' has to be a primary key column on the target entity class 'Shopware\Models\Customer\Customer'.

 

 

 

Bei einer frischen Installation (5.2.1 bis 5.2.4 upgrades, nur Demo Daten) fehl.

(Meine Entities stehen)