|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
-
- /**
- * @ORM\MappedSuperclass()
- */
- abstract class OrderStatusHistory extends AbstractEntity
- {
- /**
- * @ORM\ManyToOne(targetEntity="Lc\ShopBundle\Context\OrderShopInterface", inversedBy="orderStatusHistories")
- * @ORM\JoinColumn(nullable=false)
- */
- protected $orderShop;
-
- /**
- * @ORM\Column(type="string", length=31)
- */
- protected $orderStatus;
-
- /**
- * @ORM\Column(type="string", length=31)
- */
- protected $origin;
-
- public function getOrderShop(): ?OrderShop
- {
- return $this->orderShop;
- }
-
- public function setOrderShop(?OrderShop $orderShop): self
- {
- $this->orderShop = $orderShop;
-
- return $this;
- }
-
- public function getOrderStatus(): ?string
- {
- return $this->orderStatus;
- }
-
- public function setOrderStatus(string $orderStatus): self
- {
- $this->orderStatus = $orderStatus;
-
- return $this;
- }
-
- public function getOrigin(): ?string
- {
- return $this->origin;
- }
-
- public function setOrigin(string $origin): self
- {
- $this->origin = $origin;
-
- return $this;
- }
- }
|