Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use Doctrine\ORM\Mapping AS ORM;
- namespace Shopware\Models\Article;
- /**
- * @ORM\MappedSuperclass
- */
- class MappedSuperclassBase
- {
- /**
- * @ORM\Column(type="integer", nullable=true)
- */
- private $mapped1;
- /**
- * @ORM\Column(type="string", nullable=true)
- */
- private $mapped2;
- }
- <?php
- use Doctrine\ORM\Mapping AS ORM;
- /**
- * @ORM\Entity
- */
- class EntitySubClass extends MappedSuperclassBase
- {
- /**
- * @ORM\Column(type="string", nullable=true)
- */
- private $name;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement