wip: finalize implementation

This commit is contained in:
Björn Fromme
2025-10-17 18:46:25 +02:00
parent dc7ed0728a
commit 434c4d0a11
20 changed files with 112 additions and 224 deletions
+1 -6
View File
@@ -17,7 +17,7 @@ use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer;
class Insurance
{
#[Groups(['api:single', 'api:list'])]
public string|int|null $id = null;
public string|null $id = null;
#[Groups(['api:single', 'api:list'])]
public ?string $code = null;
@@ -105,11 +105,6 @@ class Insurance
*/
public array $individualPrice = [];
public function __toString(): string
{
return (string) $this->id;
}
/**
* Returns the subType, with virtual 'PKG' subType for insurance packages.
*