Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

34 lines
811B

  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Reminder;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Lc\CaracoleBundle\Doctrine\Extension\FilterMerchantInterface;
  5. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  6. use Lc\SovBundle\Model\Reminder\ReminderModel as SovReminderModel;
  7. /**
  8. * @ORM\MappedSuperclass()
  9. */
  10. abstract class ReminderModel extends SovReminderModel implements FilterMerchantInterface
  11. {
  12. /**
  13. * @ORM\ManyToOne(targetEntity="Lc\CaracoleBundle\Model\Merchant\MerchantInterface")
  14. * @ORM\JoinColumn(nullable=false)
  15. */
  16. protected $merchant;
  17. public function getMerchant(): MerchantInterface
  18. {
  19. return $this->merchant;
  20. }
  21. public function setMerchant(MerchantInterface $merchant): self
  22. {
  23. $this->merchant = $merchant;
  24. return $this;
  25. }
  26. }