|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?php
-
- namespace Lc\CaracoleBundle\Model\Order;
-
- use Doctrine\ORM\Mapping as ORM;
-
-
- /**
- * @ORM\MappedSuperclass()
- */
- abstract class OrderProductRefundModel
- {
- /**
- * @ORM\Column(type="integer")
- */
- protected $quantityRefund;
-
- /**
- * @ORM\Column(type="string", length=255, nullable=true)
- */
- protected $title;
-
- /**
- * @ORM\Column(type="float")
- */
- protected $price;
-
- /**
- * @ORM\OneToOne(targetEntity="Lc\CaracoleBundle\Model\Order\OrderProductInterface")
- * @ORM\JoinColumn(nullable=false)
- */
- protected $orderProduct;
-
- public function getQuantityRefund(): ?int
- {
- return $this->quantityRefund;
- }
-
- public function setQuantityOrder(int $quantityRefund): self
- {
- $this->quantityRefund = $quantityRefund;
-
- return $this;
- }
-
- public function getPrice(): ?float
- {
- return $this->getPrice();
- }
-
- public function setPrice(?float $price): self
- {
- $this->price = $price;
-
- return $this;
- }
-
- public function getTitleInherited(): ?string
- {
- return $this->title;
- }
-
- public function getTitle(): ?string
- {
- return $this->title;
- }
-
- public function setTitle(string $title): self
- {
- $this->title = $title;
-
- return $this;
- }
-
- public function getOrderProduct(): ?OrderProductInterface
- {
- return $this->orderProduct;
- }
-
- public function setOrderProduct(OrderProductInterface $orderProduct): self
- {
- $this->orderProduct = $orderProduct;
-
- return $this;
- }
- }
-
|