mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-14 06:58:39 +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
|
@ -141,7 +141,7 @@ class MeasurementUnit extends AbstractPartsContainingDBElement
|
|||
#[Assert\Valid]
|
||||
#[ORM\OneToMany(targetEntity: MeasurementUnitParameter::class, mappedBy: 'element', cascade: ['persist', 'remove'], orphanRemoval: true)]
|
||||
#[ORM\OrderBy(['group' => 'ASC', 'name' => 'ASC'])]
|
||||
#[Groups(['measurement_unit:read'])]
|
||||
#[Groups(['measurement_unit:read', 'measurement_unit:write'])]
|
||||
protected Collection $parameters;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue