Allow to view and edit parameters of elements

This commit is contained in:
Jan Böhmer 2023-09-19 11:44:22 +02:00
parent 78a6262665
commit f285061a76
8 changed files with 39 additions and 11 deletions

View file

@ -105,6 +105,7 @@ class StorageLocation extends AbstractPartsContainingDBElement
#[Assert\Valid]
#[ORM\OneToMany(targetEntity: StorageLocationParameter::class, mappedBy: 'element', cascade: ['persist', 'remove'], orphanRemoval: true)]
#[ORM\OrderBy(['group' => 'ASC', 'name' => 'ASC'])]
#[Groups(['location:read', 'location:write'])]
protected Collection $parameters;
/**