保誠-保戶業務員媒合平台
wayne
2021-11-12 55bfb3e3ac2cea5443320dfea61a0ed153bb4e84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.pollex.pam.service.dto;
 
/**
 * A DTO representing a password change required data - current and new password.
 */
public class PasswordChangeDTO {
 
    private String currentPassword;
    private String newPassword;
 
    public PasswordChangeDTO() {
        // Empty constructor needed for Jackson.
    }
 
    public PasswordChangeDTO(String currentPassword, String newPassword) {
        this.currentPassword = currentPassword;
        this.newPassword = newPassword;
    }
 
    public String getCurrentPassword() {
        return currentPassword;
    }
 
    public void setCurrentPassword(String currentPassword) {
        this.currentPassword = currentPassword;
    }
 
    public String getNewPassword() {
        return newPassword;
    }
 
    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}