Position.php 648 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. namespace Sluggable\Fixture;
  3. /**
  4. * @Entity
  5. */
  6. class Position
  7. {
  8. /**
  9. * @Id
  10. * @GeneratedValue
  11. * @Column(type="integer")
  12. */
  13. private $id;
  14. /**
  15. * @gedmo:Sluggable(position=2)
  16. * @Column(length=16)
  17. */
  18. private $prop;
  19. /**
  20. * @gedmo:Sluggable(position=1)
  21. * @Column(length=64)
  22. */
  23. private $title;
  24. /**
  25. * @gedmo:Sluggable
  26. * @Column(length=16)
  27. */
  28. private $code;
  29. /**
  30. * @gedmo:Sluggable(position=0)
  31. * @Column(length=16)
  32. */
  33. private $other;
  34. /**
  35. * @gedmo:Slug
  36. * @Column(length=64, unique=true)
  37. */
  38. private $slug;
  39. }