Improved schema infos of Manufacturer endpoints

This commit is contained in:
Jan Böhmer 2023-08-06 20:50:19 +02:00
parent 676c8eeefb
commit 6b5c51bdc5
5 changed files with 20 additions and 8 deletions

View file

@ -40,6 +40,11 @@ use Symfony\Component\Validator\Constraints as Assert;
#[ORM\MappedSuperclass]
abstract class AbstractCompany extends AbstractPartsContainingDBElement
{
#[Groups(['company:read'])]
protected ?\DateTimeInterface $addedDate = null;
#[Groups(['company:read'])]
protected ?\DateTimeInterface $lastModified = null;
/**
* @var string The address of the company
*/