Allow to view and edit parameters of elements

This commit is contained in:
Jan Böhmer 2023-09-19 11:44:22 +02:00
parent 78a6262665
commit f285061a76
8 changed files with 39 additions and 11 deletions

View file

@ -117,6 +117,7 @@ class AttachmentType extends AbstractStructuralDBElement
#[Assert\Valid]
#[ORM\OneToMany(targetEntity: AttachmentTypeParameter::class, mappedBy: 'element', cascade: ['persist', 'remove'], orphanRemoval: true)]
#[ORM\OrderBy(['group' => 'ASC', 'name' => 'ASC'])]
#[Groups(['attachment_type:read', 'attachment_type:write'])]
protected Collection $parameters;
/**