<?phpnamespace App\Entity;use App\Repository\ProductReturnRepository;use Doctrine\DBAL\Types\DecimalType;use Doctrine\ORM\Mapping as ORM;use Gedmo\Blameable\Traits\BlameableEntity;use Gedmo\Timestampable\Traits\TimestampableEntity;#[ORM\Entity(repositoryClass: ProductReturnRepository::class)]class ProductReturn{ use BlameableEntity; use TimestampableEntity; #[ORM\Id] #[ORM\GeneratedValue(strategy: 'IDENTITY')] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne] #[ORM\JoinColumn(nullable: false)] private ?ProductReturnStatus $productReturnStatus = null; #[ORM\Column(length: 1024, nullable: true)] private ?string $commentsBuyer = null; #[ORM\Column(length: 1024, nullable: true)] private ?string $commentsTriwuu = null; #[ORM\ManyToOne] private ?ReturnReasons $returnReasons = null; #[ORM\Column] private ?int $quantity = null; #[ORM\Column] private ?float $moneytoreturn = 0; #[ORM\ManyToOne] #[ORM\JoinColumn(nullable: false)] private ?Order $givenOrder = null; public function getId(): ?int { return $this->id; } public function getProductReturnStatus(): ?ProductReturnStatus { return $this->productReturnStatus; } public function setProductReturnStatus(?ProductReturnStatus $productReturnStatus): self { $this->productReturnStatus = $productReturnStatus; return $this; } public function getCommentsBuyer(): ?string { return $this->commentsBuyer; } public function setCommentsBuyer(?string $commentsBuyer): self { $this->commentsBuyer = $commentsBuyer; return $this; } public function getCommentsTriwuu(): ?string { return $this->commentsTriwuu; } public function setCommentsTriwuu(?string $commentsTriwuu): self { $this->commentsTriwuu = $commentsTriwuu; return $this; } public function getReturnReasons(): ?ReturnReasons { return $this->returnReasons; } public function setReturnReasons(?ReturnReasons $returnReasons): self { $this->returnReasons = $returnReasons; return $this; } public function getQuantity(): ?int { return $this->quantity; } public function setQuantity(int $quantity): self { $this->quantity = $quantity; return $this; } public function getGivenOrder(): ?Order { return $this->givenOrder; } public function setGivenOrder(?Order $givenOrder): self { $this->givenOrder = $givenOrder; return $this; } public function getMoneyToReturn(): ?float { return $this->moneytoreturn; } public function setMoneyToReturn(float $moneytoreturn): self { $this->moneytoreturn = $moneytoreturn; return $this; } }