package com.xcong.excoin.common.system.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
|
/**
|
* @author wzy
|
* @date 2020-05-12
|
**/
|
@Data
|
@ApiModel(value = "登陆接口接收类", description = "登陆接口接收类")
|
public class LoginDto {
|
|
|
@ApiModelProperty(value = "用户名", example = "11111")
|
@NotBlank(message = "用户名或密码错误")
|
private String username;
|
|
@ApiModelProperty(value = "密码", example = "123456")
|
@NotBlank(message = "用户名或密码错误")
|
private String password;
|
}
|