src/Admin/Modules/Store/Entity/StoreOrderProduct.php line 12
<?phpnamespace App\Admin\Modules\Store\Entity;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/*** @ORM\Table(name="store_order_product")* @ORM\Entity*/class StoreOrderProduct{/*** @var int** @ORM\Column(type="bigint", options={"unsigned"=true}))* @ORM\Id* @ORM\GeneratedValue(strategy="AUTO")*/protected $id;/*** @var \App\Admin\Modules\Store\Entity\StoreOrder** @ORM\ManyToOne(targetEntity="App\Admin\Modules\Store\Entity\StoreOrder", inversedBy="products")* @ORM\JoinColumns({* @ORM\JoinColumn(name="id_store_order", referencedColumnName="id", nullable=true, onDelete="CASCADE")* })*/private $order;/*** @var \App\Admin\Modules\Store\Entity\StoreProduct** @ORM\ManyToOne(targetEntity="App\Admin\Modules\Store\Entity\StoreProduct")* @ORM\JoinColumns({* @ORM\JoinColumn(name="id_store_product", referencedColumnName="id", nullable=true, onDelete="SET NULL")* })*/private $product;/*** @var string** @ORM\Column(name="name", type="string", length=255, nullable=false)*/private $name;/*** @var int** @ORM\Column(name="quantity", type="integer", nullable=false)*/private $quantity;/*** @var string** @ORM\Column(name="price", type="decimal", precision=14, scale=2, nullable=false)*/private $price;/*** @var int** @ORM\Column(name="vat", type="smallint", nullable=false)*/private $vat;/*** @var string** @ORM\Column(name="weight", type="string", length=25, nullable=false)*/private $weight;/*** @var int** @ORM\Column(name="lead_time", type="smallint", nullable=false)*/private $leadTime;public function getId(): ?string{return $this->id;}public function getName(): ?string{return $this->name;}public function setName(string $name): self{$this->name = $name;return $this;}public function getPrice(): ?string{return $this->price;}public function setPrice(string $price): self{$this->price = $price;return $this;}public function getVat(): ?int{return $this->vat;}public function setVat(int $vat): self{$this->vat = $vat;return $this;}public function getWeight(): ?string{return $this->weight;}public function setWeight(string $weight): self{$this->weight = $weight;return $this;}public function getLeadTime(): ?int{return $this->leadTime;}public function setLeadTime(int $leadTime): self{$this->leadTime = $leadTime;return $this;}public function getOrder(): ?StoreOrder{return $this->order;}public function setOrder(?StoreOrder $order): self{$this->order = $order;return $this;}public function getProduct(): ?StoreProduct{return $this->product;}public function setProduct(?StoreProduct $product): self{$this->product = $product;return $this;}public function getQuantity(): ?int{return $this->quantity;}public function setQuantity(int $quantity): self{$this->quantity = $quantity;return $this;}}