From 521ce60a3f4f19975cde037850d899c2989685b2 Mon Sep 17 00:00:00 2001 From: firefox1234123 Date: Tue, 6 Aug 2024 18:58:14 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20postId=20=ED=95=A8=EA=BB=98=20=EC=9D=91?= =?UTF-8?q?=EB=8B=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../post/api/dto/response/PostInfoResDto.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/response/PostInfoResDto.java b/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/response/PostInfoResDto.java index ca2fca0..16f8600 100644 --- a/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/response/PostInfoResDto.java +++ b/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/response/PostInfoResDto.java @@ -11,6 +11,7 @@ @Builder public record PostInfoResDto( + Long postId, String title, String content, String imgUrl, @@ -24,6 +25,7 @@ public record PostInfoResDto( ) { public static PostInfoResDto from(Post post) { return PostInfoResDto.builder() + .postId(post.getPostId()) .title(post.getTitle()) .content(post.getContent()) .location(post.getLocation())