<?php
namespace App\Entity;
use App\Repository\OrderMachineDataRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=OrderMachineDataRepository::class)
*/
class OrderMachineData
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Order::class, inversedBy="orderMachineData")
* @ORM\JoinColumn(onDelete="CASCADE")
* @ORM\JoinColumn(nullable=false)
*/
private $orderId;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $tmp_cama;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $tmp_camara;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $tmp_boquilla;
/**
* @ORM\Column(type="datetime")
*/
private $date;
/**
* @ORM\Column(type="boolean")
*/
private $order_end;
public function getId(): ?int
{
return $this->id;
}
public function getOrderId(): ?Order
{
return $this->orderId;
}
public function setOrderId(?Order $orderId): self
{
$this->orderId = $orderId;
return $this;
}
public function getTmpCama(): ?string
{
return $this->tmp_cama;
}
public function setTmpCama(?string $tmp_cama): self
{
$this->tmp_cama = $tmp_cama;
return $this;
}
public function getTmpCamara(): ?string
{
return $this->tmp_camara;
}
public function setTmpCamara(?string $tmp_camara): self
{
$this->tmp_camara = $tmp_camara;
return $this;
}
public function getTmpBoquilla(): ?string
{
return $this->tmp_boquilla;
}
public function setTmpBoquilla(?string $tmp_boquilla): self
{
$this->tmp_boquilla = $tmp_boquilla;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getOrderEnd(): ?bool
{
return $this->order_end;
}
public function setOrderEnd(bool $order_end): self
{
$this->order_end = $order_end;
return $this;
}
}