wip: finalize implementation

This commit is contained in:
Björn Fromme committed 2026-03-16 11:59:11 +01:00
1 parent b882175f36
commit 5ef3bb9cbf
20 files changed
+112 -224

No files matched your search

+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.
*