From e654d17598de1331b88f89cb5f7f0380638c4a07 Mon Sep 17 00:00:00 2001 From: manuraf Date: Mon, 19 Feb 2024 18:03:12 +0100 Subject: [PATCH] added BsonProperty id --- .../java/it/pagopa/selfcare/onboarding/entity/Institution.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/Institution.java b/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/Institution.java index 783a45bb4..d0fef6d75 100644 --- a/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/Institution.java +++ b/apps/onboarding-ms/src/main/java/it/pagopa/selfcare/onboarding/entity/Institution.java @@ -4,12 +4,14 @@ import it.pagopa.selfcare.onboarding.common.Origin; import it.pagopa.selfcare.onboarding.util.InstitutionPaSubunitType; import lombok.Data; +import org.bson.codecs.pojo.annotations.BsonProperty; import java.util.List; @Data public class Institution { + @BsonProperty("id") private String id; private InstitutionType institutionType; private String taxCode;