-
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.
Merge pull request #116 from Yanol-Market/feature/58-chat-refactor-an…
…d-post-api Feature/58 채팅방 생성 API 구현 및 채팅 response 데이터 추가, request 매핑로직 수정 등 리팩토링
- Loading branch information
Showing
12 changed files
with
115 additions
and
39 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
7 changes: 3 additions & 4 deletions
7
...enticket/domain/chat/dto/ChatRequest.java → .../domain/chat/dto/request/ChatRequest.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
12 changes: 12 additions & 0 deletions
12
src/main/java/site/goldenticket/domain/chat/dto/request/ChatRoomRequest.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,12 @@ | ||
package site.goldenticket.domain.chat.dto.request; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record ChatRoomRequest( | ||
@NotNull(message = "구매자 ID를 입력해주세요") | ||
Long userId, | ||
@NotNull(message = "상품 ID를 입력해주세요") | ||
Long productId | ||
) { | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...nticket/domain/chat/dto/ChatResponse.java → ...omain/chat/dto/response/ChatResponse.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
2 changes: 1 addition & 1 deletion
2
...main/chat/dto/ChatRoomDetailResponse.java → .../dto/response/ChatRoomDetailResponse.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
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
2 changes: 1 addition & 1 deletion
2
...domain/chat/dto/ChatRoomListResponse.java → ...at/dto/response/ChatRoomListResponse.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
12 changes: 12 additions & 0 deletions
12
src/main/java/site/goldenticket/domain/chat/dto/response/ChatRoomResponse.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,12 @@ | ||
package site.goldenticket.domain.chat.dto.response; | ||
|
||
import lombok.Builder; | ||
|
||
@Builder | ||
public record ChatRoomResponse( | ||
Long chatRoomId, | ||
Long userId, | ||
Long productId | ||
) { | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...omain/chat/dto/ChatRoomShortResponse.java → ...t/dto/response/ChatRoomShortResponse.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
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