issues/27: sequence/default migration and #[OA\RequestBody(... Model(... groups: *:write))]
This commit is contained in:
committed by
Valeriy Petrov
parent
656f79ff4e
commit
da5f7bb242
@@ -14,6 +14,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
|
||||
class SiteService
|
||||
{
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: "IDENTITY")]
|
||||
#[ORM\Column(type: Types::INTEGER)]
|
||||
#[Groups(['site_service:read'])]
|
||||
private ?int $id = null;
|
||||
|
||||
Reference in New Issue
Block a user