32 lines
647B

  1. <?php
  2. namespace Lc\ShopBundle\Model;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Lc\ShopBundle\Context\OrderProductReductionCatalogInterface;
  5. /**
  6. * @ORM\MappedSuperclass()
  7. */
  8. abstract class OrderProductReductionCatalog implements OrderProductReductionCatalogInterface
  9. {
  10. use ReductionTrait ;
  11. /**
  12. * @ORM\Column(type="string", length=255)
  13. */
  14. protected $title;
  15. public function getTitle(): ?string
  16. {
  17. return $this->title;
  18. }
  19. public function setTitle(string $title): self
  20. {
  21. $this->title = $title;
  22. return $this;
  23. }
  24. }