mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-31 23:40:20 +02:00
Added tests for all API endpoints of Structural elements
This commit is contained in:
parent
7b5ae70de3
commit
3d67ad870a
16 changed files with 887 additions and 3 deletions
|
@ -180,6 +180,7 @@ abstract class Attachment extends AbstractNamedDBElement
|
|||
#[ORM\JoinColumn(name: 'type_id', nullable: false)]
|
||||
#[Selectable]
|
||||
#[Groups(['attachment:read', 'attachment:write'])]
|
||||
#[ApiProperty(readableLink: false)]
|
||||
protected ?AttachmentType $attachment_type = null;
|
||||
|
||||
#[Groups(['attachment:read'])]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue