|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
- use Lc\ShopBundle\Context\ReductionInterface;
-
-
- abstract class OrderReductionCredit implements ReductionInterface
- {
- use ReductionTrait ;
-
-
-
- protected $title;
-
-
-
-
- protected $orderShop;
-
-
-
- protected $reductionCredit;
-
- public function __toString()
- {
- return $this->title;
- }
-
- public function getTitle(): ?string
- {
- return $this->title;
- }
-
- public function setTitle(string $title): self
- {
- $this->title = $title;
-
- return $this;
- }
-
- public function getOrderShop(): ?OrderShop
- {
- return $this->orderShop;
- }
-
- public function setOrderShop(?OrderShop $orderShop): self
- {
- $this->orderShop = $orderShop;
-
- return $this;
- }
-
- public function getReductionCredit(): ?ReductionCredit
- {
- return $this->reductionCredit;
- }
-
- public function setReductionCredit(?ReductionCredit $reductionCredit): self
- {
- $this->reductionCredit = $reductionCredit;
-
- return $this;
- }
- }
|