package kr.wisestone.owl.vo;
|
|
import com.google.common.collect.Lists;
|
|
import java.util.List;
|
|
/**
|
* Created by jeong on 2017-08-02.
|
*/
|
public class UserVo extends BaseVo{
|
|
private Long id;
|
private String name;
|
private String account;
|
private String password;
|
private String profile;
|
private String status;
|
private String phone;
|
private String byName; // autocomplete 에서 사용하는 가공된 이름 + 이메일 정보
|
private String socialType;
|
private Long lastWorkspaceId;
|
private Long lastProjectId;
|
private Long lastIssueTypeId;
|
private Long departmentId;
|
private String levelName;
|
private List<DepartmentVo> departmentVos = Lists.newArrayList();
|
private Boolean userSocialLogin = Boolean.FALSE;
|
private List<ProjectVo> projectVos = Lists.newArrayList();
|
private String reservationNotifyTime;
|
private String language;
|
private String licensekey;
|
private Long sessionActiveTime; // 클러스터링 환경에서 접속중인 사용자 관리에 사용
|
private Boolean projectManagerYN = Boolean.FALSE;
|
|
public UserVo() {
|
}
|
|
public UserVo(Long id, String name, String account, String profile) {
|
this.id = id;
|
this.name = name;
|
this.account = account;
|
this.profile = profile;
|
}
|
|
public UserVo(Long id, String name, String account, String profile, String status, String phone) {
|
this.id = id;
|
this.name = name;
|
this.account = account;
|
this.profile = profile;
|
this.status = status;
|
this.phone = phone;
|
}
|
|
public Long getDepartmentId() {
|
return departmentId;
|
}
|
|
public void setDepartmentId(Long departmentId) {
|
this.departmentId = departmentId;
|
}
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public String getProfile() {
|
return profile;
|
}
|
|
public void setProfile(String profile) {
|
this.profile = profile;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public Long getLastWorkspaceId() {
|
return lastWorkspaceId;
|
}
|
|
public void setLastWorkspaceId(Long lastWorkspaceId) {
|
this.lastWorkspaceId = lastWorkspaceId;
|
}
|
|
public List<ProjectVo> getProjectVos() {
|
return projectVos;
|
}
|
|
public void setProjectVos(List<ProjectVo> projectVos) {
|
this.projectVos = projectVos;
|
}
|
|
public Boolean getUserSocialLogin() {
|
return userSocialLogin;
|
}
|
|
public void setUserSocialLogin(Boolean userSocialLogin) {
|
this.userSocialLogin = userSocialLogin;
|
}
|
|
public String getByName() {
|
return byName;
|
}
|
|
public void setByName(String byName) {
|
this.byName = byName;
|
}
|
|
public String getSocialType() {
|
return socialType;
|
}
|
|
public void setSocialType(String socialType) {
|
this.socialType = socialType;
|
}
|
|
public String getReservationNotifyTime() {
|
return reservationNotifyTime;
|
}
|
|
public void setReservationNotifyTime(String reservationNotifyTime) {
|
this.reservationNotifyTime = reservationNotifyTime;
|
}
|
|
public String getLanguage() {
|
return language;
|
}
|
|
public void setLanguage(String language) {
|
this.language = language;
|
}
|
|
public String getLicensekey() {
|
return licensekey;
|
}
|
|
public void setLicensekey(String licensekey) {
|
this.licensekey = licensekey;
|
}
|
|
public Long getSessionActiveTime() {
|
return sessionActiveTime;
|
}
|
|
public void setSessionActiveTime(Long sessionActiveTime) {
|
this.sessionActiveTime = sessionActiveTime;
|
}
|
|
public Long getLastIssueTypeId() {
|
return lastIssueTypeId;
|
}
|
|
public void setLastIssueTypeId(Long lastIssueTypeId) {
|
this.lastIssueTypeId = lastIssueTypeId;
|
}
|
|
public Long getLastProjectId() {
|
return lastProjectId;
|
}
|
|
public void setLastProjectId(Long id) { this.lastProjectId = id;}
|
|
public Boolean getProjectManagerYN() {
|
return projectManagerYN;
|
}
|
|
public void setProjectManagerYN(Boolean projectManagerYN) {
|
this.projectManagerYN = projectManagerYN;
|
}
|
|
public String getLevelName() {
|
return levelName;
|
}
|
|
public void setLevelName(String levelName) {
|
this.levelName = levelName;
|
}
|
|
public List<DepartmentVo> getDepartmentVos() {
|
return departmentVos;
|
}
|
|
public void setDepartmentVos(List<DepartmentVo> departmentVos) {
|
this.departmentVos = departmentVos;
|
}
|
}
|