package com.matrix.system.padApi.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
|
@Data
|
public class WebPadLoginDto {
|
|
@ApiModelProperty(value = "用户名", example = "1234")
|
@NotBlank(message = "用户名或密码错误")
|
private String username;
|
|
@ApiModelProperty(value = "密码", example = "123456")
|
@NotBlank(message = "用户名或密码错误")
|
private String password;
|
|
}
|