935090232@qq.com
2021-01-06 7b9cb4464cf7a6db758214c5681b0ecdf01e3db4
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
36
37
38
package com.matrix.system.app.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
import javax.validation.constraints.NotBlank;
 
/**
 * @author wzy
 * @date 2021-01-06
 **/
@ApiModel(value = "PwdModifyDto", description = "修改密码接口参数接收类")
public class PwdModifyDto {
 
    @NotBlank(message = "参数错误")
    @ApiModelProperty(value = "老密码", example = "123456")
    private String oldPwd;
 
    @NotBlank(message = "参数错误")
    @ApiModelProperty(value = "新密码", example = "123456")
    private String newPwd;
 
    public String getOldPwd() {
        return oldPwd;
    }
 
    public void setOldPwd(String oldPwd) {
        this.oldPwd = oldPwd;
    }
 
    public String getNewPwd() {
        return newPwd;
    }
 
    public void setNewPwd(String newPwd) {
        this.newPwd = newPwd;
    }
}