-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
2254d58
commit 423e01a
Showing
3 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
...d/src/main/java/aimo/backend/domains/member/dto/request/SendTemporaryPasswordRequest.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,8 +1,12 @@ | ||
package aimo.backend.domains.member.dto.request; | ||
|
||
import jakarta.validation.constraints.Email; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record SendTemporaryPasswordRequest( | ||
@Email(message = "이메일 형식이 아닙니다.") | ||
String email) { | ||
@NotNull(message = "nickname이 빈 문자열입니다.") | ||
String nickname, | ||
@Email(message = "email 형식이 아닙니다.") | ||
String email | ||
) { | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ | |
|
||
@Getter | ||
public enum Notice { | ||
TITLE("Aimo 임시 비밀번호 발급 안내"), | ||
TITLE("aimo 임시 비밀번호 발급 안내"), | ||
INTRODUCE("임시 비밀번호 발급 안내입니다.\n"), | ||
TEMPORARY_PASSWORD("님의 임시 비밀번호는 "), | ||
END_MESSAGE("입니다.\n항상 Aimo를 이용해 주셔서 감사합니다.\n"), | ||
FROM("\nAimo 개발자 mango 드림"), | ||
END_MESSAGE("입니다.\n항상 aimo를 이용해 주셔서 감사합니다.\n"), | ||
FROM("\naimo 담당자 드림"), | ||
SERVICE_ADDRESS("[email protected]"); | ||
|
||
private String value; | ||
|