123456789101112131415161718 |
- <?php
- namespace Translatable\Fixture\Personal;
- use Doctrine\ORM\Mapping as ORM;
- use Gedmo\Translatable\Entity\MappedSuperclass\AbstractPersonalTranslation;
- /**
- * @ORM\Table(name="article_translations")
- * @ORM\Entity
- */
- class PersonalArticleTranslation extends AbstractPersonalTranslation
- {
- /**
- * @ORM\ManyToOne(targetEntity="Article", inversedBy="translations")
- * @ORM\JoinColumn(name="object_id", referencedColumnName="id", onDelete="CASCADE")
- */
- protected $object;
- }
|