-
Notifications
You must be signed in to change notification settings - Fork 6
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 #243 from prgrms-web-devcourse-final-project/feature/
#234-AI-prompt-추가 채팅방 코드 수정
- Loading branch information
Showing
6 changed files
with
83 additions
and
22 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
18 changes: 18 additions & 0 deletions
18
src/main/java/com/mallangs/domain/chat/dto/response/ChatRoomCreateResponse.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,18 @@ | ||
package com.mallangs.domain.chat.dto.response; | ||
|
||
import lombok.Getter; | ||
import lombok.ToString; | ||
|
||
@Getter | ||
@ToString | ||
public class ChatRoomCreateResponse { | ||
private String success; | ||
private String message; | ||
private Long chatRoomId; | ||
|
||
public ChatRoomCreateResponse(Long chatRoomId) { | ||
this.success = "성공"; | ||
this.message = "채팅 생성에 성공하였습니다."; | ||
this.chatRoomId = chatRoomId; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/com/mallangs/domain/chat/dto/response/ChatRoomDeleteResponse.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,18 @@ | ||
package com.mallangs.domain.chat.dto.response; | ||
|
||
import lombok.Getter; | ||
import lombok.ToString; | ||
|
||
@Getter | ||
@ToString | ||
public class ChatRoomDeleteResponse { | ||
private String success; | ||
private String message; | ||
private Long participatedRoomId; | ||
|
||
public ChatRoomDeleteResponse(Long participatedRoomId) { | ||
this.success = "성공"; | ||
this.message = "참여채팅방 삭제에 성공하였습니다."; | ||
this.participatedRoomId = participatedRoomId; | ||
} | ||
} |
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