File.php 520 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace Translatable\Fixture\Issue75;
  3. /**
  4. * @Entity
  5. */
  6. class File
  7. {
  8. /**
  9. * @Id
  10. * @GeneratedValue
  11. * @Column(type="integer")
  12. */
  13. private $id;
  14. /**
  15. * @gedmo:Translatable
  16. * @Column(name="title", type="string", length=128)
  17. */
  18. private $title;
  19. public function getId()
  20. {
  21. return $this->id;
  22. }
  23. public function setTitle($title)
  24. {
  25. $this->title = $title;
  26. }
  27. public function getTitle()
  28. {
  29. return $this->title;
  30. }
  31. }