Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. namespace Allblacks\GeolocalisationBundle\Entity;
  2.  
  3.  
  4. use Stof\DoctrineExtensionsBundle\Entity\AbstractTranslation;
  5. use Doctrine\ORM\Mapping as ORM;
  6.  
  7. /**
  8. * Allblacks\GeolocalisationBundle\Entity
  9. *
  10. * @ORM\Entity(repositoryClass="Gedmo\Translatable\Entity\Repository\TranslationRepository")
  11. * @ORM\Table(
  12. * name="geo_translation",
  13. * indexes={@ORM\index(name="geo_translation_lookup_idx", columns={
  14. * "locale", "object_class", "foreign_key"
  15. * })},
  16. * uniqueConstraints={@ORM\UniqueConstraint(name="geo_translation_lookup_unique_idx", columns={
  17. * "locale", "object_class", "foreign_key", "field"
  18. * })}
  19. * )
  20. */
  21. class GeoTranslationEntity extends AbstractTranslation
  22. {
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement