You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. namespace Lc\ShopBundle\Model;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\MappedSuperclass()
  6. */
  7. abstract class MerchantConfig
  8. {
  9. /**
  10. * @ORM\ManyToOne(targetEntity="Lc\ShopBundle\Context\MerchantInterface", inversedBy="merchantConfigs")
  11. * @ORM\JoinColumn(nullable=false)
  12. */
  13. protected $merchant;
  14. /**
  15. * @ORM\Column(type="string", length=63)
  16. */
  17. protected $name;
  18. /**
  19. * @ORM\Column(type="text")
  20. */
  21. protected $value;
  22. public function getMerchant(): ?Merchant
  23. {
  24. return $this->merchant;
  25. }
  26. public function setMerchant(?Merchant $merchant): self
  27. {
  28. $this->merchant = $merchant;
  29. return $this;
  30. }
  31. public function getName(): ?string
  32. {
  33. return $this->name;
  34. }
  35. public function setName(string $name): self
  36. {
  37. $this->name = $name;
  38. return $this;
  39. }
  40. public function getValue(): ?string
  41. {
  42. return $this->value;
  43. }
  44. public function setValue(string $value): self
  45. {
  46. $this->value = $value;
  47. return $this;
  48. }
  49. }