From 67fde76421714ada3cded8ea324da0ba7a5706f6 Mon Sep 17 00:00:00 2001 From: ymkim97 Date: Thu, 30 Nov 2023 17:30:59 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=B0=A9=20=EC=83=81=EC=84=B8=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=EC=97=90=20=EB=B0=A9=20=EC=83=9D=EC=84=B1=20?= =?UTF-8?q?=EB=82=A0=EC=A7=9C=EC=8B=9C=EA=B0=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/moabam/api/application/room/mapper/RoomMapper.java | 1 + src/main/java/com/moabam/api/dto/room/RoomDetailsResponse.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/java/com/moabam/api/application/room/mapper/RoomMapper.java b/src/main/java/com/moabam/api/application/room/mapper/RoomMapper.java index 8282c0ee..aee5dd5d 100644 --- a/src/main/java/com/moabam/api/application/room/mapper/RoomMapper.java +++ b/src/main/java/com/moabam/api/application/room/mapper/RoomMapper.java @@ -45,6 +45,7 @@ public static RoomDetailsResponse toRoomDetailsResponse(Long memberId, Room room List todayCertificateRankResponses, double completePercentage) { return RoomDetailsResponse.builder() .roomId(room.getId()) + .roomCreatedAt(room.getCreatedAt()) .myMemberId(memberId) .title(room.getTitle()) .managerNickName(managerNickname) diff --git a/src/main/java/com/moabam/api/dto/room/RoomDetailsResponse.java b/src/main/java/com/moabam/api/dto/room/RoomDetailsResponse.java index 339ecbcc..cd019558 100644 --- a/src/main/java/com/moabam/api/dto/room/RoomDetailsResponse.java +++ b/src/main/java/com/moabam/api/dto/room/RoomDetailsResponse.java @@ -1,6 +1,7 @@ package com.moabam.api.dto.room; import java.time.LocalDate; +import java.time.LocalDateTime; import java.util.List; import com.moabam.api.domain.room.RoomType; @@ -10,6 +11,7 @@ @Builder public record RoomDetailsResponse( Long roomId, + LocalDateTime roomCreatedAt, Long myMemberId, String title, String managerNickName,