src/Entity/OrderMachineData.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\OrderMachineDataRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=OrderMachineDataRepository::class)
  7.  */
  8. class OrderMachineData
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Order::class, inversedBy="orderMachineData")
  18.      * @ORM\JoinColumn(onDelete="CASCADE")
  19.      * @ORM\JoinColumn(nullable=false)
  20.      */
  21.     private $orderId;
  22.     /**
  23.      * @ORM\Column(type="string", length=255, nullable=true)
  24.      */
  25.     private $tmp_cama;
  26.     /**
  27.      * @ORM\Column(type="string", length=255, nullable=true)
  28.      */
  29.     private $tmp_camara;
  30.     /**
  31.      * @ORM\Column(type="string", length=255, nullable=true)
  32.      */
  33.     private $tmp_boquilla;
  34.     /**
  35.      * @ORM\Column(type="datetime")
  36.      */
  37.     private $date;
  38.     /**
  39.      * @ORM\Column(type="boolean")
  40.      */
  41.     private $order_end;
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getOrderId(): ?Order
  47.     {
  48.         return $this->orderId;
  49.     }
  50.     public function setOrderId(?Order $orderId): self
  51.     {
  52.         $this->orderId $orderId;
  53.         return $this;
  54.     }
  55.     public function getTmpCama(): ?string
  56.     {
  57.         return $this->tmp_cama;
  58.     }
  59.     public function setTmpCama(?string $tmp_cama): self
  60.     {
  61.         $this->tmp_cama $tmp_cama;
  62.         return $this;
  63.     }
  64.     public function getTmpCamara(): ?string
  65.     {
  66.         return $this->tmp_camara;
  67.     }
  68.     public function setTmpCamara(?string $tmp_camara): self
  69.     {
  70.         $this->tmp_camara $tmp_camara;
  71.         return $this;
  72.     }
  73.     public function getTmpBoquilla(): ?string
  74.     {
  75.         return $this->tmp_boquilla;
  76.     }
  77.     public function setTmpBoquilla(?string $tmp_boquilla): self
  78.     {
  79.         $this->tmp_boquilla $tmp_boquilla;
  80.         return $this;
  81.     }
  82.     public function getDate(): ?\DateTimeInterface
  83.     {
  84.         return $this->date;
  85.     }
  86.     public function setDate(\DateTimeInterface $date): self
  87.     {
  88.         $this->date $date;
  89.         return $this;
  90.     }
  91.     public function getOrderEnd(): ?bool
  92.     {
  93.         return $this->order_end;
  94.     }
  95.     public function setOrderEnd(bool $order_end): self
  96.     {
  97.         $this->order_end $order_end;
  98.         return $this;
  99.     }
  100. }