-
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.
Merge branch 'develop' into feature/record
- Loading branch information
Showing
22 changed files
with
461 additions
and
297 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: 7 additions & 0 deletions
7
...main/java/umc/kkijuk/server/common/domian/exception/ConfirmPasswordMismatchException.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,7 @@ | ||
package umc.kkijuk.server.common.domian.exception; | ||
|
||
public class ConfirmPasswordMismatchException extends RuntimeException { | ||
public ConfirmPasswordMismatchException() { | ||
super("비밀번호가 일치하지 않습니다."); | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...main/java/umc/kkijuk/server/common/domian/exception/CurrentPasswordMismatchException.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,6 @@ | ||
package umc.kkijuk.server.common.domian.exception; | ||
|
||
public class CurrentPasswordMismatchException extends RuntimeException { | ||
public CurrentPasswordMismatchException() {super("현재 비밀번호가 일치하지 않습니다."); | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/umc/kkijuk/server/common/domian/exception/EmailNotFoundException.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,6 @@ | ||
package umc.kkijuk.server.common.domian.exception; | ||
|
||
public class EmailNotFoundException extends RuntimeException{ | ||
public EmailNotFoundException() {super("이메일을 찾을 수 없습니다."); | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/umc/kkijuk/server/common/domian/exception/FieldUpdateException.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,6 @@ | ||
package umc.kkijuk.server.common.domian.exception; | ||
|
||
public class FieldUpdateException extends RuntimeException{ | ||
public FieldUpdateException() {super("Field update fail."); | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/umc/kkijuk/server/common/domian/exception/InvalidMemberDataException.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,6 @@ | ||
package umc.kkijuk.server.common.domian.exception; | ||
|
||
public class InvalidMemberDataException extends RuntimeException{ | ||
public InvalidMemberDataException() {super("MemberData cannot be null."); | ||
} | ||
} |
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
25 changes: 25 additions & 0 deletions
25
src/main/java/umc/kkijuk/server/member/dto/MemberPasswordChangeDto.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,25 @@ | ||
package umc.kkijuk.server.member.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
public class MemberPasswordChangeDto { | ||
|
||
@NotNull | ||
private String currentPassword; | ||
@NotNull | ||
private String newPassword; | ||
@NotNull | ||
private String newPasswordConfirm; | ||
|
||
@Builder | ||
public MemberPasswordChangeDto(String currentPassword, String newPassword, String newPasswordConfirm) { | ||
this.currentPassword = currentPassword; | ||
this.newPassword = newPassword; | ||
this.newPasswordConfirm = newPasswordConfirm; | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
src/main/java/umc/kkijuk/server/member/dto/MemberPhoneNumberDto.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
17 changes: 17 additions & 0 deletions
17
src/main/java/umc/kkijuk/server/member/dto/MyPagePasswordAuthDto.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,17 @@ | ||
package umc.kkijuk.server.member.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
public class MyPagePasswordAuthDto { | ||
|
||
@NotNull | ||
private String currentPassword; | ||
|
||
public MyPagePasswordAuthDto(String currentPassword) { | ||
this.currentPassword = currentPassword; | ||
} | ||
} |
Oops, something went wrong.