5 changed files with 66 additions and 6 deletions
@ -0,0 +1,37 @@ |
|||
/** |
|||
* Copyright (c) 2018 人人开源 All rights reserved. |
|||
* |
|||
* https://www.renren.io
|
|||
* |
|||
* 版权所有,侵权必究! |
|||
*/ |
|||
|
|||
package com.elink.esua.epdc.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 AutoLoginDTO 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; |
|||
|
|||
} |
Loading…
Reference in new issue