mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 20:35:08 +02:00
Added missing lastModified and creationDate fields to API response
This commit is contained in:
parent
e09f60e71f
commit
64c38042a0
9 changed files with 56 additions and 4 deletions
|
@ -156,6 +156,12 @@ abstract class Attachment extends AbstractNamedDBElement
|
|||
#[Groups(['attachment:read', 'attachment_write'])]
|
||||
protected ?AttachmentType $attachment_type = null;
|
||||
|
||||
#[Groups(['attachment:read'])]
|
||||
protected ?\DateTimeInterface $addedDate = null;
|
||||
#[Groups(['attachment:read'])]
|
||||
protected ?\DateTimeInterface $lastModified = null;
|
||||
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
//parent::__construct();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue