This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
src/main/java/com/example/daemawiki/domain/auth/dto/request/LoginRequest.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,11 +1,11 @@ | ||
package com.example.daemawiki.domain.auth.dto.request; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
public record LoginRequest( | ||
@NotNull(message = "이메일을 입력해주세요.") | ||
@NotBlank(message = "이메일을 입력해주세요.") | ||
String email, | ||
@NotNull(message = "비밀번호를 입력해주세요.") | ||
@NotBlank(message = "비밀번호를 입력해주세요.") | ||
String password | ||
) { | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/com/example/daemawiki/domain/auth/dto/request/ReissueRequest.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,9 +1,9 @@ | ||
package com.example.daemawiki.domain.auth.dto.request; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
public record ReissueRequest( | ||
@NotNull(message = "데이터가 비어있습니다.") | ||
@NotBlank(message = "토큰이 비어있습니다.") | ||
String token | ||
) { | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/com/example/daemawiki/domain/auth/dto/request/SignupRequest.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
6 changes: 3 additions & 3 deletions
6
src/main/java/com/example/daemawiki/domain/mail/dto/AuthCodeVerifyRequest.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,11 +1,11 @@ | ||
package com.example.daemawiki.domain.mail.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
public record AuthCodeVerifyRequest( | ||
@NotNull(message = "인가 받을 메일을 입력해주세요") | ||
@NotBlank(message = "인가 받을 메일을 입력해주세요") | ||
String mail, | ||
@NotNull(message = "인증번호를 입력해주세요.") | ||
@NotBlank(message = "인증번호를 입력해주세요.") | ||
String authCode | ||
) { | ||
} |