Make more fiields importable

This commit is contained in:
Jan Böhmer 2023-03-13 00:52:22 +01:00
parent 4437f206af
commit 820be46ed3
10 changed files with 35 additions and 29 deletions

View file

@ -66,7 +66,7 @@ class Pricedetail extends AbstractDBElement implements TimeStampableInterface
* @ORM\ManyToOne(targetEntity="Currency", inversedBy="pricedetails")
* @ORM\JoinColumn(name="id_currency", referencedColumnName="id", nullable=true)
* @Selectable()
* @Groups({"extended", "full"})
* @Groups({"extended", "full", "import"})
*/
protected ?Currency $currency = null;
@ -74,7 +74,7 @@ class Pricedetail extends AbstractDBElement implements TimeStampableInterface
* @var float
* @ORM\Column(type="float")
* @Assert\Positive()
* @Groups({"extended", "full"})
* @Groups({"extended", "full", "import"})
*/
protected float $price_related_quantity = 1.0;
@ -82,7 +82,7 @@ class Pricedetail extends AbstractDBElement implements TimeStampableInterface
* @var float
* @ORM\Column(type="float")
* @Assert\Positive()
* @Groups({"extended", "full"})
* @Groups({"extended", "full", "import"})
*/
protected float $min_discount_quantity = 1.0;