From ca59271eb705070fcedbfe64943cbec4f8705cd6 Mon Sep 17 00:00:00 2001 From: Michiel Kodde Date: Mon, 5 Aug 2024 10:03:02 +0200 Subject: [PATCH] Stylize the entity connection CSV column names See: https://www.pivotaltracker.com/story/show/187805216/comments/241955945 --- .../Domain/ValueObject/EntityConnectionExport.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Surfnet/ServiceProviderDashboard/Domain/ValueObject/EntityConnectionExport.php b/src/Surfnet/ServiceProviderDashboard/Domain/ValueObject/EntityConnectionExport.php index c57137fb2..68894b92b 100644 --- a/src/Surfnet/ServiceProviderDashboard/Domain/ValueObject/EntityConnectionExport.php +++ b/src/Surfnet/ServiceProviderDashboard/Domain/ValueObject/EntityConnectionExport.php @@ -20,22 +20,31 @@ namespace Surfnet\ServiceProviderDashboard\Domain\ValueObject; +use Symfony\Component\Serializer\Attribute\SerializedName; + class EntityConnectionExport { + #[SerializedName('Servicename')] public string $nameOfService; + #[SerializedName('Name')] public string $nameOfEntity; + #[SerializedName('entityID / Client ID')] public string $entityId; + #[SerializedName('Support contact')] public string $supportContact; + #[SerializedName('Technical contact')] public string $technicalContact; + #[SerializedName('Admin contact')] public string $adminContact; /** * @var string[] */ + #[SerializedName('Connected IdP')] public array $idps; }