Article.php 515 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace Wrapper\Fixture\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity
  6. */
  7. class Article
  8. {
  9. /**
  10. * @ORM\Id
  11. * @ORM\GeneratedValue
  12. * @ORM\Column(type="integer")
  13. */
  14. private $id;
  15. /**
  16. * @ORM\Column(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. }