-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from TeamSynergyy/feature/queryDsl
#103 채팅 Dto Json 변환
- Loading branch information
Showing
5 changed files
with
62 additions
and
20 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/main/java/com/seoultech/synergybe/domain/chat/dto/response/ChatMessageResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.seoultech.synergybe.domain.chat.dto.response; | ||
|
||
import com.seoultech.synergybe.domain.chat.domain.ChatType; | ||
|
||
public record ChatMessageResponse( | ||
String id, | ||
Long chatRoomId, | ||
String userId, | ||
String message, | ||
ChatType chatType, | ||
String imageName, | ||
String imageUrl | ||
) { | ||
} |
5 changes: 4 additions & 1 deletion
5
src/main/java/com/seoultech/synergybe/domain/chat/dto/response/GetChatRoomResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package com.seoultech.synergybe.domain.chat.dto.response; | ||
|
||
import java.util.List; | ||
|
||
public record GetChatRoomResponse( | ||
Long chatRoomId, | ||
String chatRoomName | ||
String chatRoomName, | ||
List<String> userIds | ||
) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters