Engine.php 741 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. namespace Tree\Fixture\Transport;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity
  6. */
  7. class Engine
  8. {
  9. /**
  10. * @ORM\Id
  11. * @ORM\GeneratedValue
  12. * @ORM\Column(type="integer")
  13. */
  14. private $id;
  15. /**
  16. * @ORM\Column(length=32)
  17. */
  18. private $type;
  19. /**
  20. * @ORM\Column(type="integer")
  21. */
  22. private $valves;
  23. public function getId()
  24. {
  25. return $this->id;
  26. }
  27. public function setType($type)
  28. {
  29. $this->type = $type;
  30. }
  31. public function getType()
  32. {
  33. return $this->type;
  34. }
  35. public function setValves($valves)
  36. {
  37. $this->valves = $valves;
  38. }
  39. public function getValves()
  40. {
  41. return $this->valves;
  42. }
  43. }