You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.0 KiB
46 lines
1.0 KiB
6 years ago
|
/**
|
||
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
||
|
*
|
||
|
* https://www.renren.io
|
||
|
*
|
||
|
* 版权所有,侵权必究!
|
||
|
*/
|
||
|
|
||
|
package com.epmet.dto;
|
||
|
|
||
|
import io.swagger.annotations.ApiModel;
|
||
|
import io.swagger.annotations.ApiModelProperty;
|
||
|
import lombok.Data;
|
||
|
|
||
|
import javax.validation.constraints.NotBlank;
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
/**
|
||
|
* 登录信息
|
||
|
*
|
||
|
* @author Mark sunlightcs@gmail.com
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
@Data
|
||
|
@ApiModel(value = "登录信息")
|
||
|
public class LoginDTO implements Serializable {
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
|
||
|
@ApiModelProperty(value = "用户名", required = true)
|
||
|
@NotBlank(message="{sysuser.username.require}")
|
||
|
private String username;
|
||
|
|
||
|
@ApiModelProperty(value = "密码")
|
||
|
@NotBlank(message="{sysuser.password.require}")
|
||
|
private String password;
|
||
|
|
||
|
@ApiModelProperty(value = "验证码")
|
||
|
@NotBlank(message="{sysuser.captcha.require}")
|
||
|
private String captcha;
|
||
|
|
||
|
@ApiModelProperty(value = "唯一标识")
|
||
|
@NotBlank(message="{sysuser.uuid.require}")
|
||
|
private String uuid;
|
||
|
|
||
|
}
|