-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Method signatures updated to use entities instead of IDs
- Updated `jointChatRoom` method to take `ChatRoomEntity` and `MemberEntity` instead of their IDs. - Adjusted `createChatRoom` method to reflect these changes. - Improved comments and corrected minor typos for better code readability. ``` 관련 이슈: #123 참조: https://example.com/issue/123 Signed-off-by: Namgyu11 <103015031+Namgyu11@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
32 additions
and
36 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
6 changes: 5 additions & 1 deletion
6
src/main/java/connectripbe/connectrip_be/chat/service/ChatRoomMemberService.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,11 @@ | ||
package connectripbe.connectrip_be.chat.service; | ||
|
||
import connectripbe.connectrip_be.chat.entity.ChatRoomEntity; | ||
import connectripbe.connectrip_be.chat.entity.ChatRoomMemberEntity; | ||
import connectripbe.connectrip_be.member.entity.MemberEntity; | ||
|
||
public interface ChatRoomMemberService { | ||
|
||
void jointChatRoom(Long chatRoomId, Long memberId); | ||
ChatRoomMemberEntity jointChatRoom(ChatRoomEntity chatRoom, MemberEntity member); | ||
|
||
} |
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
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