MixedValue.php 825 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. namespace Translatable\Fixture;
  3. use Gedmo\Mapping\Annotation as Gedmo;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity
  7. */
  8. class MixedValue
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @Gedmo\Translatable
  18. * @ORM\Column(type="datetime")
  19. */
  20. private $date;
  21. /**
  22. * @Gedmo\Translatable
  23. * @ORM\Column(type="custom")
  24. */
  25. private $cust;
  26. public function getId()
  27. {
  28. return $this->id;
  29. }
  30. public function setDate($date)
  31. {
  32. $this->date = $date;
  33. }
  34. public function getDate()
  35. {
  36. return $this->date;
  37. }
  38. public function setCust($cust)
  39. {
  40. $this->cust = $cust;
  41. }
  42. public function getCust()
  43. {
  44. return $this->cust;
  45. }
  46. }