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

@ -71,22 +71,24 @@ class Storelocation extends AbstractPartsContainingDBElement
/**
* @var bool
* @ORM\Column(type="boolean")
* @Groups({"full"})
* @Groups({"full", "import"})
*/
protected bool $is_full = false;
/**
* @var bool
* @ORM\Column(type="boolean")
* @Groups({"full"})
* @Groups({"full", "import"})
*/
protected bool $only_single_part = false;
/**
* @var bool
* @ORM\Column(type="boolean")
* @Groups({"full", "import"})
*/
protected bool $limit_to_existing_parts = false;
/**
* @var Collection<int, StorelocationAttachment>
* @ORM\OneToMany(targetEntity="App\Entity\Attachments\StorelocationAttachment", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true)