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;
|
}
|