From 1bf381ecf2ffaad09714a71f432333e99c6a796e Mon Sep 17 00:00:00 2001 From: eugenbegiqi <146853548+eugenbegiqi@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:03:00 +0200 Subject: [PATCH] [SELC-5168] feat : changed type of id field to Object (#527) --- .../mscore/model/pecnotification/PecNotification.java | 4 +++- .../mscore/connector/dao/model/PecNotificationEntity.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/connector-api/src/main/java/it/pagopa/selfcare/mscore/model/pecnotification/PecNotification.java b/connector-api/src/main/java/it/pagopa/selfcare/mscore/model/pecnotification/PecNotification.java index f6fcf923..c3680259 100644 --- a/connector-api/src/main/java/it/pagopa/selfcare/mscore/model/pecnotification/PecNotification.java +++ b/connector-api/src/main/java/it/pagopa/selfcare/mscore/model/pecnotification/PecNotification.java @@ -12,7 +12,7 @@ @AllArgsConstructor public class PecNotification { - private String id; + private Object id; private String institutionId; private String productId; private Integer moduleDayOfTheEpoch; @@ -20,4 +20,6 @@ public class PecNotification { private OffsetDateTime createdAt; private OffsetDateTime updatedAt; + + } diff --git a/connector/dao/src/main/java/it/pagopa/selfcare/mscore/connector/dao/model/PecNotificationEntity.java b/connector/dao/src/main/java/it/pagopa/selfcare/mscore/connector/dao/model/PecNotificationEntity.java index ac2c57ab..9251ffc4 100644 --- a/connector/dao/src/main/java/it/pagopa/selfcare/mscore/connector/dao/model/PecNotificationEntity.java +++ b/connector/dao/src/main/java/it/pagopa/selfcare/mscore/connector/dao/model/PecNotificationEntity.java @@ -17,7 +17,7 @@ public class PecNotificationEntity { @Id - private String id; + private Object id; private String institutionId; private String productId; private Integer moduleDayOfTheEpoch;