From cb27f8d84929694198cc8e9204616cf6b34c8d4b Mon Sep 17 00:00:00 2001 From: swa07016 Date: Mon, 17 Jun 2024 23:22:11 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=B8=8C=EB=A6=AC=ED=95=91=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=A1=B0=ED=9A=8C=20=EC=9D=91=EB=8B=B5=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/briefingapi/briefing/business/BriefingMapper.java | 1 + .../briefing/presentation/dto/BriefingResponseDTO.java | 1 + 2 files changed, 2 insertions(+) diff --git a/Briefing-Api/src/main/java/com/example/briefingapi/briefing/business/BriefingMapper.java b/Briefing-Api/src/main/java/com/example/briefingapi/briefing/business/BriefingMapper.java index 3ebcbcc..a4cb12d 100644 --- a/Briefing-Api/src/main/java/com/example/briefingapi/briefing/business/BriefingMapper.java +++ b/Briefing-Api/src/main/java/com/example/briefingapi/briefing/business/BriefingMapper.java @@ -23,6 +23,7 @@ public static BriefingResponseDTO.BriefingPreviewDTOV2 toBriefingPreviewDTOV2( .title(briefing.getTitle()) .subtitle(briefing.getSubtitle()) .scrapCount(briefing.getScrapCount()) + .viewCount(briefing.getViewCount()) .build(); } diff --git a/Briefing-Api/src/main/java/com/example/briefingapi/briefing/presentation/dto/BriefingResponseDTO.java b/Briefing-Api/src/main/java/com/example/briefingapi/briefing/presentation/dto/BriefingResponseDTO.java index 18f4e19..924695b 100644 --- a/Briefing-Api/src/main/java/com/example/briefingapi/briefing/presentation/dto/BriefingResponseDTO.java +++ b/Briefing-Api/src/main/java/com/example/briefingapi/briefing/presentation/dto/BriefingResponseDTO.java @@ -35,6 +35,7 @@ public static class BriefingPreviewDTOV2 { String title; String subtitle; @Builder.Default Integer scrapCount = 0; + @Builder.Default Integer viewCount = 0; } @Builder