"src/com/bird/vscode:/vscode.git/clone" did not exist on "d7b64a56e687ca6e3a3b295342fe07f0fdcb87a2"
Commit 322afa04 authored by macro's avatar macro
Browse files

Update UmsAdminLoginParam.java

parent 0dfa1f22
package com.macro.mall.dto; package com.macro.mall.dto;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotEmpty;
...@@ -8,6 +10,8 @@ import javax.validation.constraints.NotEmpty; ...@@ -8,6 +10,8 @@ import javax.validation.constraints.NotEmpty;
* 用户登录参数 * 用户登录参数
* Created by macro on 2018/4/26. * Created by macro on 2018/4/26.
*/ */
@Data
@EqualsAndHashCode(callSuper = false)
public class UmsAdminLoginParam { public class UmsAdminLoginParam {
@ApiModelProperty(value = "用户名", required = true) @ApiModelProperty(value = "用户名", required = true)
@NotEmpty(message = "用户名不能为空") @NotEmpty(message = "用户名不能为空")
...@@ -15,20 +19,4 @@ public class UmsAdminLoginParam { ...@@ -15,20 +19,4 @@ public class UmsAdminLoginParam {
@ApiModelProperty(value = "密码", required = true) @ApiModelProperty(value = "密码", required = true)
@NotEmpty(message = "密码不能为空") @NotEmpty(message = "密码不能为空")
private String password; private String password;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment