Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

33 lines
645B

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