-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 룰렛 참여자 응답에 darakbangMemberId 추가
- Loading branch information
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
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
5 changes: 3 additions & 2 deletions
5
backend/src/main/java/mouda/backend/chat/presentation/response/ParticipantResponse.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,12 +1,13 @@ | ||
package mouda.backend.chat.presentation.response; | ||
|
||
public record ParticipantResponse( | ||
long darakbangMemberId, | ||
String nickname, | ||
String profile, | ||
String role | ||
) { | ||
|
||
public ParticipantResponse(String nickname, String profile) { | ||
this(nickname, profile, null); | ||
public ParticipantResponse(long darakbangMemberId, String nickname, String profile) { | ||
this(darakbangMemberId, nickname, profile, null); | ||
} | ||
} |