feat(api) : exposer BuildingCase.id et Building.id dans bovine:read

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-04 11:31:25 +02:00
parent 6134fc3107
commit cae04ed489
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ class Building
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
#[Groups(['building:read', 'building:summary', 'reception:read'])]
#[Groups(['building:read', 'building:summary', 'reception:read', 'bovine:read'])]
private ?int $id = null;
#[ORM\Column(length: 120)]

View File

@@ -39,7 +39,7 @@ class BuildingCase
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
#[Groups(['building:read', 'building_case:read'])]
#[Groups(['building:read', 'building_case:read', 'bovine:read'])]
private ?int $id = null;
#[ORM\Column]