mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +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
|
@ -93,6 +93,8 @@ class Part extends AttachmentContainingDBElement
|
|||
/** @var PartParameter[]
|
||||
* @Assert\Valid()
|
||||
* @ORM\OneToMany(targetEntity="App\Entity\Parameters\PartParameter", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true)
|
||||
* @ORM\OrderBy({"group" = "ASC" ,"name" = "ASC"})
|
||||
* @ORM\OrderBy({"group" = "ASC" ,"name" = "ASC"})
|
||||
*/
|
||||
protected $parameters;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue