kongzy
2024-07-12 28aaf2ffa1dbb860a292ba330a7e9362e60e7832
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.gkhy.assess.common.domain.vo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
 
import java.io.Serializable;
 
import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;
 
@Getter
@Setter
@ApiModel(value = "用户账号对象", description = "用户账号对象")
@JsonInclude(NON_NULL)
public class AccountVO implements Serializable {
 
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户id",required = true)
    private Long id;
 
    @ApiModelProperty(value = "登录名",required = true)
    private String username;
 
    @ApiModelProperty(value = "用户昵称",required = true)
    private String name;
 
    @ApiModelProperty(value = "机构名称")
    private String agentName;
 
    @ApiModelProperty(value = "机构Id")
    private Long agentId;
 
    @ApiModelProperty(value = "审批状态(0暂存,1审核中,2审批通过,3审批驳回,4已作废 默认1)")
    private Integer state;
 
    @ApiModelProperty("用户角色")
    private String role;
 
    @ApiModelProperty("生产的token,接口请求头字段: Authorization")
    private String token;
 
    @ApiModelProperty("用户身份(0代表监管用户,1代表机构用户,2代表专家用户)")
    private Integer identity;
 
    @ApiModelProperty("用户人脸图片地址(app使用),前端访问图片链接格式:http://ip:port/api/文件保存相对路径")
    private String idPhoto;
}