diff --git a/src/main/java/com/depromeet/stonebed/domain/fcm/dto/response/FcmNotificationDto.java b/src/main/java/com/depromeet/stonebed/domain/fcm/dto/response/FcmNotificationDto.java index 2a09715a..53f87ca2 100644 --- a/src/main/java/com/depromeet/stonebed/domain/fcm/dto/response/FcmNotificationDto.java +++ b/src/main/java/com/depromeet/stonebed/domain/fcm/dto/response/FcmNotificationDto.java @@ -15,6 +15,7 @@ public record FcmNotificationDto( String imageUrl, @Schema(description = "읽음 여부", example = "false") Boolean isRead, @Schema(description = "타겟 ID", example = "1") Long targetId, + @Schema(description = "알림 딥링크 URL", example = "myapp://notification/1") String deepLink, @Schema(description = "알림 전송 시간", example = "2024-08-17 13:31:19") LocalDateTime createdAt) { @@ -30,6 +31,7 @@ public static FcmNotificationDto from( imageUrl, notification.getIsRead(), notification.getTargetId(), + notification.getDeepLink(), notification.getCreatedAt()); } }