package com.lunhan.xxx.common.jwt;
|
|
import java.util.List;
|
|
public class LoginUserDTO {
|
/**
|
* 身份令牌
|
*/
|
private String token;
|
/**
|
* 用户唯一标识
|
*/
|
private String userId;
|
/**
|
* 用户类型 EUserType
|
*/
|
private Integer userType;
|
/**
|
* 用户名称
|
*/
|
private String userName;
|
/**
|
* 手机号
|
*/
|
private String phone;
|
/**
|
* 昵称
|
*/
|
private String nickName;
|
/**
|
* 头像
|
*/
|
private String headImg;
|
/**
|
* 拥有角色列表
|
*/
|
private List<Long> listRole;
|
/**
|
* 拥有角色-名称列表
|
*/
|
private List<String> listRoleName;
|
/**
|
* 所属客户公司(当 userType=3 时)
|
*/
|
private Long customerCompany;
|
/**
|
* 所属客户公司名称
|
*/
|
private String customerCompanyName;
|
|
/**
|
* 客户公司所属区域
|
*/
|
private String customerRegion;
|
/**
|
* 是否是子帐号(当 userType=3 时)
|
*/
|
private Integer isChild;
|
|
public String getToken() {
|
return token;
|
}
|
|
public void setToken(String token) {
|
this.token = token;
|
}
|
|
public String getUserId() {
|
return userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
public Integer getUserType() {
|
return userType;
|
}
|
|
public void setUserType(Integer userType) {
|
this.userType = userType;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public String getNickName() {
|
return nickName;
|
}
|
|
public void setNickName(String nickName) {
|
this.nickName = nickName;
|
}
|
|
public String getHeadImg() {
|
return headImg;
|
}
|
|
public void setHeadImg(String headImg) {
|
this.headImg = headImg;
|
}
|
|
public List<Long> getListRole() {
|
return listRole;
|
}
|
|
public void setListRole(List<Long> listRole) {
|
this.listRole = listRole;
|
}
|
|
public List<String> getListRoleName() {
|
return listRoleName;
|
}
|
|
public void setListRoleName(List<String> listRoleName) {
|
this.listRoleName = listRoleName;
|
}
|
|
public Long getCustomerCompany() {
|
return customerCompany;
|
}
|
|
public void setCustomerCompany(Long customerCompany) {
|
this.customerCompany = customerCompany;
|
}
|
|
public String getCustomerCompanyName() {
|
return customerCompanyName;
|
}
|
|
public void setCustomerCompanyName(String customerCompanyName) {
|
this.customerCompanyName = customerCompanyName;
|
}
|
|
public String getCustomerRegion() {
|
return customerRegion;
|
}
|
|
public void setCustomerRegion(String customerRegion) {
|
this.customerRegion = customerRegion;
|
}
|
|
public Integer getIsChild() {
|
return isChild;
|
}
|
|
public void setIsChild(Integer isChild) {
|
this.isChild = isChild;
|
}
|
}
|