您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

33 行
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. }