张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
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
package com.thhy.staff.modules.biz.group.entity;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.thhy.general.annotations.Excel;
import lombok.Data;
 
import java.io.Serializable;
 
@Data
public class GroupPlatUserVo implements Serializable {
 
    private String userId;
 
    @Excel(sort = 1,title = "姓名")
    private String realName;
 
    private int sex;
 
    @Excel(sort = 2,title = "性别",dict = true)
    private String sexStr;
 
    public String getSexStr() {
        return sex==0?"男":"女";
    }
 
    @Excel(sort = 4,title = "联系方式")
    private String phone;
 
    @JsonIgnore
    @Excel(sort = 3,title = "账号",dict = true)
    private String account;
 
    public String getAccount() {
        return this.phone;
    }
 
    private int isAdmin;
 
    @Excel(sort = 5,title = "是否负责人",dict = true)
    private String isAdminStr;
 
    public String getIsAdminStr() {
        return isAdmin==1?"是":"否";
    }
 
    @JsonIgnore
    @Excel(sort = 0,title = "序号",seq = true)
    private int seq;
}