-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds UpdatePasswordDTO and uses it in updatePassword.
Signed-off-by: 自由的世界人 <[email protected]>
- Loading branch information
1 parent
3d456dd
commit 48f5bb4
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
backend/wall-pojo/src/main/java/cn/yiming1234/NottinghamWall/dto/UpdatePasswordDTO.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,10 @@ | ||
package cn.yiming1234.NottinghamWall.dto; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class UpdatePasswordDTO { | ||
private String oldPassword; | ||
private String newPassword; | ||
private String confirmPassword; | ||
} |
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