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
51
52
53
54
55
56
57
58
59
60
61
62
| package org.jeecg.modules.system.vo;
|
| import java.util.Date;
|
| import org.jeecg.common.aspect.annotation.Dict;
| import org.springframework.format.annotation.DateTimeFormat;
|
| import com.fasterxml.jackson.annotation.JsonFormat;
|
| import lombok.Data;
|
| /**
| *
| * @Author: chenli
| * @Date: 2020-06-07
| * @Version: V1.0
| */
| @Data
| public class SysUserOnlineVO {
| /**
| * 会话id
| */
| private String id;
|
| /**
| * 会话编号
| */
| private String token;
|
| /**
| * 用户名
| */
| private String username;
|
| /**
| * 用户名
| */
| private String realname;
|
| /**
| * 头像
| */
| private String avatar;
|
| /**
| * 生日
| */
| @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
| @DateTimeFormat(pattern = "yyyy-MM-dd")
| private Date birthday;
|
| /**
| * 性别(1:男 2:女)
| */
| @Dict(dicCode = "sex")
| private Integer sex;
|
| /**
| * 手机号
| */
| private String phone;
| }
|
|