|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use App\Entity\Hub;
- use Doctrine\ORM\Mapping as ORM;
- use Lc\ShopBundle\Context\FilterMerchantInterface;
- use Lc\ShopBundle\Model\AbstractDocumentEntity;
- use Gedmo\Mapping\Annotation as Gedmo;
-
-
- abstract class News extends AbstractDocumentEntity implements FilterMerchantInterface
- {
-
-
- protected $merchant;
-
-
-
- protected $date;
-
- public function getDate(): ?\DateTimeInterface
- {
- return $this->date;
- }
-
- public function setDate(\DateTimeInterface $date): self
- {
- $this->date = $date;
-
- return $this;
- }
-
- public function getMerchant(): ?Hub
- {
- return $this->merchant;
- }
-
- public function setMerchant(?Hub $merchant): self
- {
- $this->merchant = $merchant;
-
- return $this;
- }
- }
|