Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Allblacks\GeolocalisationBundle\Entity;
- use Stof\DoctrineExtensionsBundle\Entity\AbstractTranslation;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * Allblacks\GeolocalisationBundle\Entity
- *
- * @ORM\Entity(repositoryClass="Gedmo\Translatable\Entity\Repository\TranslationRepository")
- * @ORM\Table(
- * name="geo_translation",
- * indexes={@ORM\index(name="geo_translation_lookup_idx", columns={
- * "locale", "object_class", "foreign_key"
- * })},
- * uniqueConstraints={@ORM\UniqueConstraint(name="geo_translation_lookup_unique_idx", columns={
- * "locale", "object_class", "foreign_key", "field"
- * })}
- * )
- */
- class GeoTranslationEntity extends AbstractTranslation
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement