我得到了以下UML方案:基本上,这是分类系统的开始,其中一些是可嵌套的,而另一些则不是。我开始尝试制作2层抽象类(Taxonomy和OfferCategory),因为它们都不能用作最终实体。我使用了MappedSuperClass,但出现以下错误:[Doctrine\ORM\ORMException]Columnname`id`referencedforrelationfromLCH\CatalogBundle\Entity\HomeOfferCategorytowardsLCH\CatalogBundle\Entity\OfferCategorydoesnotexist.我的主键字段