kongzy
2024-06-03 022b17044ab6bb284fd6313da91d1d1dfb2d5079
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.gkhy.assess.common.domain.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
 
import javax.validation.constraints.NotBlank;
 
@Getter
@Setter
@ApiModel(value = "登录提交表单", description = "登录提交表单")
public class LoginBody {
    @ApiModelProperty(value = "登录名",required = true)
    @NotBlank(message = "登录名不能为空")
    private String username;
    @ApiModelProperty(value = "密码(base64加密)",required = true)
    @NotBlank(message = "密码不能为空")
    private String password;
    @ApiModelProperty(value = "验证码",required = false)
    private String code;
    @ApiModelProperty(value = "验证码唯一标识",required = false)
    private String uuid;
    @ApiModelProperty("用户身份(0代表监管用户,1代表机构用户,2代表专家用户)")
    private Integer identity;
}