mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-11 20:59:36 +00:00
PartCustomState: Mapping für Parameter korrigieren
This commit is contained in:
parent
0ac40c6a94
commit
5a0cbb7f78
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class PartCustomState extends AbstractPartsContainingDBElement
|
|||
/** @var Collection<int, PartCustomStateAttachment>
|
||||
*/
|
||||
#[Assert\Valid]
|
||||
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartCustomStateAttachment::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
||||
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartCustomStateParameter::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
||||
#[ORM\OrderBy(['name' => 'ASC'])]
|
||||
#[Groups(['part_custom_state:read', 'part_custom_state:write'])]
|
||||
protected Collection $parameters;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue