Helius
2021-06-17 bc1350318fc28f23b22a07d2e41c5e00c504ddaa
src/main/java/com/xcong/excoin/common/system/dto/LoginDto.java
@@ -1,5 +1,7 @@
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;
@@ -9,13 +11,15 @@
 * @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;
    private String code;
}