mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-04 23:44:33 +02:00
Allow to put parameters in different groups.
This commit is contained in:
parent
43857ce985
commit
2899db0206
31 changed files with 114 additions and 23 deletions
|
@ -106,6 +106,7 @@ class MeasurementUnit extends AbstractPartsContainingDBElement
|
|||
|
||||
/** @var MeasurementUnitParameter[]
|
||||
* @ORM\OneToMany(targetEntity="App\Entity\Parameters\MeasurementUnitParameter", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true)
|
||||
* @ORM\OrderBy({"group" = "ASC" ,"name" = "ASC"})
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
protected $parameters;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue