OilStat.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity(repositoryClass="App\Repository\OilStatRepository")
  6. */
  7. class OilStat
  8. {
  9. /**
  10. * @ORM\ManyToOne(targetEntity="App\Entity\WheelPairs", inversedBy="oilstat")
  11. * @ORM\JoinColumn(nullable=true)
  12. */
  13. private $wheelpairs;
  14. public function getWheelPairs(): WheelPairs
  15. {
  16. return $this->wheelpairs;
  17. }
  18. public function setWheelPairs(WheelPairs $wheelpairs)
  19. {
  20. $this->wheelpairs = $wheelpairs;
  21. }
  22. /**
  23. * @ORM\Id()
  24. * @ORM\GeneratedValue()
  25. * @ORM\Column(type="integer")
  26. */
  27. private $id;
  28. /**
  29. * @ORM\Column(type="integer")
  30. */
  31. private $isset;
  32. /**
  33. * @ORM\Column(type="string")
  34. */
  35. private $data;
  36. public function getId()
  37. {
  38. return $this->id;
  39. }
  40. public function getIsset()
  41. {
  42. return $this->isset;
  43. }
  44. public function setIsset(int $isset)
  45. {
  46. $this->isset = $isset;
  47. return $this;
  48. }
  49. public function getData()
  50. {
  51. return $this->data;
  52. }
  53. public function setData(string $data)
  54. {
  55. $this->data = $data;
  56. return $this;
  57. }
  58. }