Skip to content

Commit de06a61

Browse files
committed
✨ feat: 룸 목록 조회 응답 DTO(RoomListResponse) 추가
- RoomResponse 추가
1 parent 6dacd0c commit de06a61

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package io.f1.backend.domain.game.dto.response;
2+
3+
import java.util.List;
4+
5+
public record RoomListResponse(
6+
List<RoomResponse> rooms
7+
) {
8+
9+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package io.f1.backend.domain.game.dto.response;
2+
3+
public record RoomResponse(
4+
Long roomId,
5+
String title,
6+
int maxUserCount,
7+
int currentUserCount,
8+
boolean locked,
9+
String roomState,
10+
String quizTitle,
11+
String description,
12+
String creator,
13+
int numberOfQuestions,
14+
String thumbnailUrl
15+
) {
16+
17+
}

0 commit comments

Comments
 (0)