Skip to content

Commit

Permalink
refactor: 방 상세 정보에 방 생성 날짜시간 추가 (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymkim97 authored Nov 30, 2023
1 parent a280159 commit 245db4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public static RoomDetailsResponse toRoomDetailsResponse(Long memberId, Room room
List<TodayCertificateRankResponse> todayCertificateRankResponses, double completePercentage) {
return RoomDetailsResponse.builder()
.roomId(room.getId())
.roomCreatedAt(room.getCreatedAt())
.myMemberId(memberId)
.title(room.getTitle())
.managerNickName(managerNickname)
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -10,6 +11,7 @@
@Builder
public record RoomDetailsResponse(
Long roomId,
LocalDateTime roomCreatedAt,
Long myMemberId,
String title,
String managerNickName,
Expand Down

0 comments on commit 245db4c

Please sign in to comment.