<?phpnamespace App\Entity;use App\Repository\OrderItemsRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: OrderItemsRepository::class)]class OrderItems{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private $id; #[ORM\ManyToOne(targetEntity: OrderDetails::class, inversedBy: 'orderItems')] private $orderDetails; #[ORM\Column(type: 'datetime', nullable: true)] private $createdAt; #[ORM\Column(type: 'datetime', nullable: true)] private $modifiedAt; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $productType; #[ORM\Column(type: 'string', length: 255, nullable: true)] private $productDescription; #[ORM\Column(type: 'float', nullable: true)] private $productPrice; #[ORM\ManyToOne(targetEntity: Product::class)] private $product; public function getId(): ?int { return $this->id; } public function getOrderDetails(): ?OrderDetails { return $this->orderDetails; } public function setOrderDetails(?OrderDetails $orderDetails): self { $this->orderDetails = $orderDetails; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(?\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getModifiedAt(): ?\DateTimeInterface { return $this->modifiedAt; } public function setModifiedAt(?\DateTimeInterface $modifiedAt): self { $this->modifiedAt = $modifiedAt; return $this; } public function getProductType(): ?string { return $this->productType; } public function setProductType(?string $productType): self { $this->productType = $productType; return $this; } public function getProductDescription(): ?string { return $this->productDescription; } public function setProductDescription(?string $productDescription): self { $this->productDescription = $productDescription; return $this; } public function getProductPrice(): ?float { return $this->productPrice; } public function setProductPrice(?float $productPrice): self { $this->productPrice = $productPrice; return $this; } public function getProduct(): ?Product { return $this->product; } public function setProduct(?Product $product): self { $this->product = $product; return $this; }}