Update UmsAdminLoginParam.java
This commit is contained in:
parent
0dfa1f22d0
commit
322afa0416
@ -1,6 +1,8 @@
|
|||||||
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;
|
|||||||
* 用户登录参数
|
* 用户登录参数
|
||||||
* 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 {
|
|||||||
@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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user