|
|
@@ -50,6 +50,11 @@ abstract class ProductFamily extends AbstractDocumentEntity implements ProductPr |
|
|
|
*/ |
|
|
|
protected $productsType; |
|
|
|
|
|
|
|
/** |
|
|
|
* @ORM\Column(type="string", length=255, nullable=true) |
|
|
|
*/ |
|
|
|
protected $quantityLabel; |
|
|
|
|
|
|
|
/** |
|
|
|
* @ORM\OneToMany(targetEntity="Lc\ShopBundle\Context\ProductInterface", mappedBy="productFamily", orphanRemoval=true, cascade={"persist"}) |
|
|
|
*/ |
|
|
@@ -255,6 +260,18 @@ abstract class ProductFamily extends AbstractDocumentEntity implements ProductPr |
|
|
|
return $this; |
|
|
|
} |
|
|
|
|
|
|
|
public function getQuantityLabel(): ?string |
|
|
|
{ |
|
|
|
return $this->quantityLabel; |
|
|
|
} |
|
|
|
|
|
|
|
public function setQuantityLabel(?string $quantityLabel): self |
|
|
|
{ |
|
|
|
$this->quantityLabel = $quantityLabel; |
|
|
|
|
|
|
|
return $this; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return Collection|ProductInterface[] |
|
|
|
*/ |