package com.macro.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * 修改用户名密码参数
 * Created by macro on 2019/10/9.
 */
@Getter
@Setter
public class UpdateAdminPasswordParam {
    @ApiModelProperty(value = "用户名", required = true)
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @ApiModelProperty(value = "旧密码", required = true)
    @NotEmpty(message = "旧密码不能为空")
    private String oldPassword;
    @ApiModelProperty(value = "新密码", required = true)
    @NotEmpty(message = "新密码不能为空")
    private String newPassword;
}

@@ -273,16 +273,30 @@
 Param %7B%0A
+    @NotEmpty%0A
     @Api
@@ -345,43 +345,8 @@
 ue)%0A
-    @NotEmpty(message = %22%E7%94%A8%E6%88%B7%E5%90%8D%E4%B8%8D%E8%83%BD%E4%B8%BA%E7%A9%BA%22)%0A
     
@@ -370,16 +370,30 @@
 ername;%0A
+    @NotEmpty%0A
     @Api
@@ -442,43 +442,8 @@
 ue)%0A
-    @NotEmpty(message = %22%E6%97%A7%E5%AF%86%E7%A0%81%E4%B8%8D%E8%83%BD%E4%B8%BA%E7%A9%BA%22)%0A
     
@@ -470,16 +470,30 @@
 ssword;%0A
+    @NotEmpty%0A
     @Api
@@ -542,43 +542,8 @@
 ue)%0A
-    @NotEmpty(message = %22%E6%96%B0%E5%AF%86%E7%A0%81%E4%B8%8D%E8%83%BD%E4%B8%BA%E7%A9%BA%22)%0A
     

Update UpdateAdminPasswordParam.java