|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?php
-
- namespace Lc\CaracoleBundle\Model\Order;
-
- use Doctrine\ORM\Mapping as ORM;
- use Lc\SovBundle\Doctrine\EntityInterface;
-
-
- /**
- * @ORM\MappedSuperclass()
- */
- abstract class OrderProductRefundModel implements EntityInterface, OrderProductRefundInterface
- {
- /**
- * @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;
- }
- }
-
|