Added basic API to access and edit manufacturer entities

This commit is contained in:
Jan Böhmer 2023-08-06 20:18:51 +02:00
parent f5a15b23d6
commit 676c8eeefb
11 changed files with 96 additions and 21 deletions

View file

@ -43,7 +43,7 @@ abstract class AbstractNamedDBElement extends AbstractDBElement implements Named
* @var string the name of this element
*/
#[Assert\NotBlank]
#[Groups(['simple', 'extended', 'full', 'import'])]
#[Groups(['simple', 'extended', 'full', 'import', 'api:basic:read', 'api:basic:write'])]
#[ORM\Column(type: Types::STRING)]
protected string $name = '';