|
- <?php
-
- namespace Lc\CaracoleBundle\Model\Setting;
-
- use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
- use Doctrine\ORM\Mapping as ORM;
- use Lc\SovBundle\Doctrine\EntityInterface;
-
- class MerchantSettingModel implements SettingInterface, EntityInterface
- {
- use SettingTrait;
-
- /**
- * @ORM\ManyToOne(targetEntity="Lc\CaracoleBundle\Model\Merchant\MerchantInterface", inversedBy="merchantSettings")
- * @ORM\JoinColumn(nullable=false)
- */
- protected $merchant;
-
- public function getMerchant(): ?MerchantInterface
- {
- return $this->merchant;
- }
-
- public function setMerchant(?MerchantInterface $merchant): self
- {
- $this->merchant = $merchant;
-
- return $this;
- }
- }
|