187 lines
4.6 KiB
Java
187 lines
4.6 KiB
Java
package com.pms.common.bean;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
public class PersonBean{
|
|
|
|
private String sabun = "";
|
|
private String userId = "";
|
|
private String userName = "";
|
|
private String userNameEng = "";
|
|
private String userNameCn = "";
|
|
private String deptCode = "";
|
|
private String deptName = "";
|
|
private String positionCode = "";
|
|
private String positionName = "";
|
|
private String email = "";
|
|
private String tel = "";
|
|
private String cellPhone = "";
|
|
private String userType = "";
|
|
private String userTypeName = "";
|
|
private String authName = "";
|
|
private String partner_cd = "";
|
|
private String empseq = "";
|
|
|
|
|
|
public String getEmpseq() {
|
|
return empseq;
|
|
}
|
|
public void setEmpseq(String empseq) {
|
|
this.empseq = empseq;
|
|
}
|
|
|
|
|
|
public String getPartner_cd() {
|
|
return partner_cd;
|
|
}
|
|
public void setPartner_cd(String partner_cd) {
|
|
this.partner_cd = partner_cd;
|
|
}
|
|
|
|
private boolean isAdmin = false;
|
|
|
|
|
|
public String getSabun() {
|
|
return sabun;
|
|
}
|
|
public void setSabun(String sabun) {
|
|
this.sabun = sabun;
|
|
}
|
|
public String getUserId() {
|
|
return userId;
|
|
}
|
|
public void setUserId(String userId) {
|
|
this.userId = userId;
|
|
}
|
|
public String getUserName() {
|
|
return userName;
|
|
}
|
|
public void setUserName(String userName) {
|
|
this.userName = userName;
|
|
}
|
|
public String getUserNameEng() {
|
|
return userNameEng;
|
|
}
|
|
public void setUserNameEng(String userNameEng) {
|
|
this.userNameEng = userNameEng;
|
|
}
|
|
public String getUserNameCn() {
|
|
return userNameCn;
|
|
}
|
|
public void setUserNameCn(String userNameCn) {
|
|
this.userNameCn = userNameCn;
|
|
}
|
|
public String getDeptCode() {
|
|
return deptCode;
|
|
}
|
|
public void setDeptCode(String deptCode) {
|
|
this.deptCode = deptCode;
|
|
}
|
|
public String getDeptName() {
|
|
return deptName;
|
|
}
|
|
public void setDeptName(String deptName) {
|
|
this.deptName = deptName;
|
|
}
|
|
public String getPositionCode() {
|
|
return positionCode;
|
|
}
|
|
public void setPositionCode(String positionCode) {
|
|
this.positionCode = positionCode;
|
|
}
|
|
public String getPositionName() {
|
|
return positionName;
|
|
}
|
|
public void setPositionName(String positionName) {
|
|
this.positionName = positionName;
|
|
}
|
|
public String getEmail() {
|
|
return email;
|
|
}
|
|
public void setEmail(String email) {
|
|
this.email = email;
|
|
}
|
|
public String getTel() {
|
|
return tel;
|
|
}
|
|
public void setTel(String tel) {
|
|
this.tel = tel;
|
|
}
|
|
public String getCellPhone() {
|
|
return cellPhone;
|
|
}
|
|
public void setCellPhone(String cellPhone) {
|
|
this.cellPhone = cellPhone;
|
|
}
|
|
public String getUserType() {
|
|
return userType;
|
|
}
|
|
public void setUserType(String userType) {
|
|
this.userType = userType;
|
|
}
|
|
public String getUserTypeName() {
|
|
return userTypeName;
|
|
}
|
|
public void setUserTypeName(String userTypeName) {
|
|
this.userTypeName = userTypeName;
|
|
}
|
|
public String getAuthName() {
|
|
return authName;
|
|
}
|
|
public void setAuthName(String authName) {
|
|
this.authName = authName;
|
|
}
|
|
|
|
public boolean getIsAdmin() {
|
|
return isAdmin;
|
|
}
|
|
public void setIsAdmin(boolean isAdmin) {
|
|
this.isAdmin = isAdmin;
|
|
}
|
|
|
|
public Map getLoginInfo(){
|
|
Map resultMap = new HashMap();
|
|
|
|
resultMap.put("sabun", this.sabun);
|
|
resultMap.put("userId", this.userId);
|
|
resultMap.put("userName", this.userName);
|
|
resultMap.put("userNameEng", this.userNameEng);
|
|
resultMap.put("userNameCn", this.userNameCn);
|
|
resultMap.put("deptCode", this.deptCode);
|
|
resultMap.put("deptName", this.deptCode);
|
|
resultMap.put("deptName", this.deptName);
|
|
resultMap.put("positionCode", positionCode);
|
|
resultMap.put("positionName", this.positionName);
|
|
resultMap.put("email", this.email);
|
|
resultMap.put("tel", this.tel);
|
|
resultMap.put("cellphone", this.cellPhone);
|
|
resultMap.put("userType", this.userType);
|
|
resultMap.put("userTypeName", this.userTypeName);
|
|
resultMap.put("isAdmin", this.isAdmin);
|
|
|
|
return resultMap;
|
|
}
|
|
|
|
public void getInfo(){
|
|
System.out.println("--------------------------------------");
|
|
System.out.println("[[[PersonBean]]]");
|
|
System.out.println("sabun : "+this.sabun);
|
|
System.out.println("userId : "+this.userId);
|
|
System.out.println("userName : "+this.userName);
|
|
System.out.println("userNameEng : "+this.userNameEng);
|
|
System.out.println("userNameCn : "+this.userNameCn);
|
|
System.out.println("deptCode : "+this.deptCode);
|
|
System.out.println("deptName : "+this.deptName);
|
|
System.out.println("positionCode : "+this.positionCode);
|
|
System.out.println("positionName : "+this.positionName);
|
|
System.out.println("email : "+this.email);
|
|
System.out.println("tel : "+this.tel);
|
|
System.out.println("cellPhone : "+this.cellPhone);
|
|
System.out.println("userType : "+this.userType);
|
|
System.out.println("userTypeName : "+this.userTypeName);
|
|
System.out.println("--------------------------------------");
|
|
}
|
|
|
|
}
|