姜友瑶
2022-07-01 d6628194b6d867f840d37db2ef9dc057a2084270
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
 
}