package com.gkhy.safePlatform.account.model.dto.resp;
|
|
import com.gkhy.safePlatform.account.enums.UserStatusEnum;
|
|
import java.io.Serializable;
|
import java.util.List;
|
public class UserLoginRespDTO implements Serializable {
|
|
private static final long serialVersionUID = 6690794400787915870L;
|
|
private Long uid;
|
|
private String username;
|
|
private String realName;
|
|
private Byte type;
|
|
private Byte status;
|
|
private String phone;
|
|
private String email;
|
|
private String accessToken;
|
|
private List<String> roles;
|
|
private String department;
|
|
private Long depId;
|
|
private String position;
|
|
public UserLoginRespDTO(Long uid, String username, String realName, Byte type, Byte status, String phone, String email,String department,String position, List<String> roles, String accessToken,Long depId) {
|
this.uid = uid;
|
this.username = username;
|
this.realName = realName;
|
this.type = type;
|
this.status = status;
|
this.phone = phone;
|
this.email = email;
|
this.department = department;
|
this.position = position;
|
this.accessToken = accessToken;
|
this.roles = roles;
|
this.depId = depId;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
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 Byte getStatus() {
|
return status;
|
}
|
|
public void setStatus(Byte status) {
|
this.status = status;
|
}
|
|
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 List<String> getRoles() {
|
return roles;
|
}
|
|
public void setRoles(List<String> roles) {
|
this.roles = roles;
|
}
|
|
public String getDepartment() {
|
return department;
|
}
|
|
public void setDepartment(String department) {
|
this.department = department;
|
}
|
|
public String getPosition() {
|
return position;
|
}
|
|
public void setPosition(String position) {
|
this.position = position;
|
}
|
|
public Long getDepId() {
|
return depId;
|
}
|
|
public void setDepId(Long depId) {
|
this.depId = depId;
|
}
|
}
|