-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MATE-94 : [REFACTOR] 굿즈거래 채팅방 입장 기능 리팩토링 (#86)
* MATE-94: [RENAME] 굿즈거래 채팅내역 조회 메서드 네이밍 수정 * MATE-94 : [FEAT] 굿즈거래 채팅 전송 검증 기능 추가 * MATE-94 : [REFACTOR] 굿즈거래 채팅방 입장 기능 리팩토링 - Response DTO 최신 채팅내역 20개 추가 * MATE-94 : [REFACTOR] 굿즈거래 채팅 관련 api path 변경 * MATE-94 : [CHORE] 불필요한 주석 제거
- Loading branch information
Showing
10 changed files
with
105 additions
and
86 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
9 changes: 9 additions & 0 deletions
9
src/main/java/com/example/mate/domain/goodsChat/dto/request/GoodsChatMessageRequest.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,13 +1,22 @@ | ||
package com.example.mate.domain.goodsChat.dto.request; | ||
|
||
import com.example.mate.domain.constant.MessageType; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class GoodsChatMessageRequest { | ||
|
||
@NotNull(message = "채팅방 ID는 필수 입력 값입니다.") | ||
private Long roomId; | ||
|
||
@NotNull(message = "회원 ID는 필수 입력 값입니다.") | ||
private Long senderId; | ||
|
||
@NotBlank(message = "메시지는 비어있을 수 없습니다.") | ||
private String message; | ||
|
||
@NotNull(message = "채팅 타입은 필수 입력 값입니다.") | ||
private MessageType type; | ||
} |
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
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
Oops, something went wrong.