mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-16 21:34:38 +02:00
Allow to view and edit parameters of elements
This commit is contained in:
parent
78a6262665
commit
f285061a76
8 changed files with 39 additions and 11 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue