12345678910111213141516171819202122232425262728293031323334 |
- package com.sifu.sfcc.dto;
- import io.swagger.annotations.ApiModelProperty;
- import javax.validation.constraints.NotEmpty;
- /**
- * 用户登录参数
- * Created by commerce on 2018/4/26.
- */
- public class UmsAdminLoginParam {
- @ApiModelProperty(value = "用户名", required = true)
- @NotEmpty(message = "用户名不能为空")
- private String username;
- @ApiModelProperty(value = "密码", required = true)
- @NotEmpty(message = "密码不能为空")
- 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;
- }
- }
|