package com.gkhy.safePlatform.commons.co; import java.io.Serializable; public class ContextCacheUser implements Serializable{ private static final long serialVersionUID = 8969168986972657466L; private Long uid; private String username; private String realName; private String accessToken; private Long roleId; private String roleCode; private Long depId; private String depName; private Long positionId; private String positionCode; private String phone; private String email; private Byte type; public ContextCacheUser(Long uid, String username, String realName, String phone, String email, Long roleId, String roleCode, Long depId, String depName, Long positionId,String positionCode, Byte type, String accessToken) { this.uid = uid; this.username = username; this.realName = realName; this.accessToken = accessToken; this.roleId = roleId; this.roleCode = roleCode; this.depId = depId; this.depName = depName; this.phone = phone; this.email = email; this.type = type; this.positionId = positionId; this.positionCode = positionCode; } public Long getUid() { return uid; } public void setUid(Long uid) { this.uid = uid; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getAccessToken() { return accessToken; } public void setAccessToken(String accessToken) { this.accessToken = accessToken; } public Long getRoleId() { return roleId; } public void setRoleId(Long roleId) { this.roleId = roleId; } public String getRoleCode() { return roleCode; } public void setRoleCode(String roleCode) { this.roleCode = roleCode; } public Long getDepId() { return depId; } public void setDepId(Long depId) { this.depId = depId; } public String getDepName() { return depName; } public void setDepName(String depName) { this.depName = depName; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getRealName() { return realName; } public void setRealName(String realName) { this.realName = realName; } public Byte getType() { return type; } public void setType(Byte type) { this.type = type; } public Long getPositionId() { return positionId; } public void setPositionId(Long positionId) { this.positionId = positionId; } public String getPositionCode() { return positionCode; } public void setPositionCode(String positionCode) { this.positionCode = positionCode; } }