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;