Skip to content

Commit

Permalink
[fix]Socket 채팅방 리스트 dto 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
qogustj committed May 22, 2024
1 parent 120bc02 commit cc0a5b7
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 @@ -12,6 +12,7 @@
@Getter
public class RoomChatResponseDto {
private String syncName;
private String image;
private String roomName;
private int total;
private String content;
Expand All @@ -21,6 +22,7 @@ public class RoomChatResponseDto {
public static RoomChatResponseDto of(Room room, String content, LocalDateTime time){
return RoomChatResponseDto.builder()
.syncName(room.getSyncName())
.image(room.getImage())
.roomName(room.getRoomName())
.total(room.getChatUserList().size())
.content(content)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class Room {
private String roomName;
private String roomSession;
private String syncName;
private String image;

@Builder.Default
private List<ChatUser> chatUserList = new ArrayList<>();
Expand Down

0 comments on commit cc0a5b7

Please sign in to comment.