package com.kingdee.eas.custom.synctask.entity; import com.kingdee.util.StringUtils; import java.util.HashMap; import java.util.Map; /** * @author qingwu * @date 2024/10/24 * @apiNote */ public class PersonEntity { // 编号 private String workcode; // 分部:2 种方式:1)分部全路径(副作用:未找到,会新增),2) 以 {"subcompanycode":"fw"} 为值的字符串,指定分部编码(不会新增) private Map subcompany; // 部门:2 种方式:1)部门全路径(副作用:未找到,会新增),2)以 {"departmentcode":"fw"} 为值的字符串,指定部门编码(不会新增) private Map department; // 人员名称 private String lastname; // 登录名称 private String loginid; // 明文密码,会转密文 private String password; // 安全级别 private Integer seclevel; // 枚举值:默认男、女,此处为性别 private String sex; // 岗位名称:2 种方式:1)名称(会新建),2)以 {"jobtitlecode":"fw"} 为值的字符串,指定岗位编码(不会新增) private Map jobtitle; // 职务,岗位使用 JSON 格式不需要传递 private String jobactivityid; // 职务类型,岗位使用 JSON 格式不需要传递 private String jobgroupid; // 职称,数据关联表:HrmJobCall private String jobcall; // 职级,仅支持整数字 private Integer joblevel; // 职责描述 private String jobactivitydesc; // 直接上级,仅支持编号 private String managerid; // 助理,仅支持编号 private String assistantid; // 状态,包括试用、正式、临时、试用延期、解聘、离职、退休、无效 private String status; // 办公地点 private String locationid; // 办公室 private String workroom; // 办公室电话 private String telephone; // 移动电话 private String mobile; // 其他电话 private String mobilecall; // 传真 private String fax; // 邮箱 private String email; // 系统语言,包括简体中文、繁體中文、English private String systemlanguage; // 生日,格式:yyyy-MM-dd private String birthday; // 民族 private String folk; // 籍贯 private String nativeplace; // 户口 private String regresidentplace; // 身份证号码,如果有值,必须唯一 private String certificatenum; // 婚姻状况,包括已婚、离异、未婚 private String maritalstatus; // 政治面貌 private String policy; // 入团日期,格式:yyyy-MM-dd private String bememberdate; // 入党日期,格式:yyyy-MM-dd private String bepartydate; // 工会会员 private String islabouunion; // 学历,数据关联表:HrmEducationLevel private String educationlevel; // 学位 private String degree; // 健康状况,包括良好、一般、较差、优秀 private String healthinfo; // 身高(cm),仅支持整数字 private Integer height; // 体重(kg),仅支持整数字 private Integer weight; // 现居住地 private String residentplace; // 家庭联系方式 private String homeaddress; // 暂住证号码 private String tempresidentnumber; // 主账号:accounttype 为次账号才有效,仅支持编号 private String belongto; // 排序,数字 private String dsporder; // 公积金账号 private String accumfundaccount; // 主次账号标志,包括主账号、次账号 private String accounttype; // 工资账号户名 private String accountname; // 工资银行 private String bankid1; // 工资账号 private String accountid1; // 入职日期 private String companystartdate; // 参加工作日期 private String workstartdate; // 基本信息自定义数据,字段确认请看【组织权限中心】-【自定义设置】-【人员卡片字段定义】-【基本信息】数据库字段名 private Map baseCustomData; // 个人信息自定义数据,字段确认请看【组织权限中心】-【自定义设置】-【人员卡片字段定义】-【个人信息】数据库字段名 private Map personCustomData; // 工作信息自定义数据,字段确认请看【组织权限中心】-【自定义设置】-【人员卡片字段定义】-【工作信息】数据库字段名 private Map workCustomData; public String getWorkcode() { return workcode; } public void setWorkcode(String workcode) { this.workcode = workcode; } public String getSubcompany() { return (String) subcompany.get("subcompanycode"); } public void setSubcompany(String subcompany) { if (this.subcompany == null) { this.subcompany = new HashMap(); } this.subcompany.put("subcompanycode", subcompany); } public String getDepartment() { return (String) department.get("departmentcode"); } public void setDepartment(String department) { if (this.department == null) { this.department = new HashMap(); } this.department.put("departmentcode", department); } public String getLastname() { return lastname; } public void setLastname(String lastname) { this.lastname = lastname; } public String getLoginid() { return loginid; } public void setLoginid(String loginid) { this.loginid = loginid; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public int getSeclevel() { return seclevel; } public void setSeclevel(Integer seclevel) { this.seclevel = seclevel; } public String getSex() { return sex; } public void setSex(String sex) { this.sex = sex; } public String getJobtitle() { return (String) jobtitle.get("jobtitlecode"); } public void setJobtitle(String jobtitle) { if (this.jobtitle == null) { this.jobtitle = new HashMap(); } this.jobtitle.put("jobtitlecode", jobtitle); } public String getJobactivityid() { return jobactivityid; } public void setJobactivityid(String jobactivityid) { this.jobactivityid = jobactivityid; } public String getJobgroupid() { return jobgroupid; } public void setJobgroupid(String jobgroupid) { this.jobgroupid = jobgroupid; } public String getJobcall() { return jobcall; } public void setJobcall(String jobcall) { this.jobcall = jobcall; } public Integer getJoblevel() { return joblevel; } public void setJoblevel(Integer joblevel) { this.joblevel = joblevel; } public String getJobactivitydesc() { return jobactivitydesc; } public void setJobactivitydesc(String jobactivitydesc) { this.jobactivitydesc = jobactivitydesc; } public String getManagerid() { return managerid; } public void setManagerid(String managerid) { this.managerid = managerid; } public String getAssistantid() { return assistantid; } public void setAssistantid(String assistantid) { this.assistantid = assistantid; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getLocationid() { return locationid; } public void setLocationid(String locationid) { this.locationid = locationid; } public String getWorkroom() { return workroom; } public void setWorkroom(String workroom) { this.workroom = workroom; } public String getTelephone() { return telephone; } public void setTelephone(String telephone) { this.telephone = telephone; } public String getMobile() { return mobile; } public void setMobile(String mobile) { this.mobile = mobile; } public String getMobilecall() { return mobilecall; } public void setMobilecall(String mobilecall) { this.mobilecall = mobilecall; } public String getFax() { return fax; } public void setFax(String fax) { this.fax = fax; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getSystemlanguage() { return systemlanguage; } public void setSystemlanguage(String systemlanguage) { this.systemlanguage = systemlanguage; } public String getBirthday() { return birthday; } public void setBirthday(String birthday) { this.birthday = birthday; } public String getFolk() { return folk; } public void setFolk(String folk) { this.folk = folk; } public String getNativeplace() { return nativeplace; } public void setNativeplace(String nativeplace) { this.nativeplace = nativeplace; } public String getRegresidentplace() { return regresidentplace; } public void setRegresidentplace(String regresidentplace) { this.regresidentplace = regresidentplace; } public String getCertificatenum() { return certificatenum; } public void setCertificatenum(String certificatenum) { this.certificatenum = certificatenum; } public String getMaritalstatus() { return maritalstatus; } public void setMaritalstatus(String maritalstatus) { this.maritalstatus = maritalstatus; } public String getPolicy() { return policy; } public void setPolicy(String policy) { this.policy = policy; } public String getBememberdate() { return bememberdate; } public void setBememberdate(String bememberdate) { this.bememberdate = bememberdate; } public String getBepartydate() { return bepartydate; } public void setBepartydate(String bepartydate) { this.bepartydate = bepartydate; } public String getIslabouunion() { return islabouunion; } public void setIslabouunion(String islabouunion) { this.islabouunion = islabouunion; } public String getEducationlevel() { return educationlevel; } public void setEducationlevel(String educationlevel) { this.educationlevel = educationlevel; } public String getDegree() { return degree; } public void setDegree(String degree) { this.degree = degree; } public String getHealthinfo() { return healthinfo; } public void setHealthinfo(String healthinfo) { this.healthinfo = healthinfo; } public Integer getHeight() { return height; } public void setHeight(Integer height) { this.height = height; } public Integer getWeight() { return weight; } public void setWeight(Integer weight) { this.weight = weight; } public String getResidentplace() { return residentplace; } public void setResidentplace(String residentplace) { this.residentplace = residentplace; } public String getHomeaddress() { return homeaddress; } public void setHomeaddress(String homeaddress) { this.homeaddress = homeaddress; } public String getTempresidentnumber() { return tempresidentnumber; } public void setTempresidentnumber(String tempresidentnumber) { this.tempresidentnumber = tempresidentnumber; } public String getBelongto() { return belongto; } public void setBelongto(String belongto) { this.belongto = belongto; } public String getDsporder() { return dsporder; } public void setDsporder(String dsporder) { this.dsporder = dsporder; } public String getAccumfundaccount() { return accumfundaccount; } public void setAccumfundaccount(String accumfundaccount) { this.accumfundaccount = accumfundaccount; } public String getAccounttype() { return accounttype; } public void setAccounttype(String accounttype) { this.accounttype = accounttype; } public String getAccountname() { return accountname; } public void setAccountname(String accountname) { this.accountname = accountname; } public String getBankid1() { return bankid1; } public void setBankid1(String bankid1) { this.bankid1 = bankid1; } public String getAccountid1() { return accountid1; } public void setAccountid1(String accountid1) { this.accountid1 = accountid1; } public String getCompanystartdate() { return companystartdate; } public void setCompanystartdate(String companystartdate) { this.companystartdate = companystartdate; } public String getWorkstartdate() { return workstartdate; } public void setWorkstartdate(String workstartdate) { this.workstartdate = workstartdate; } public Map getBaseCustomData() { return baseCustomData; } public void setBaseCustomData(Map baseCustomData) { this.baseCustomData = baseCustomData; } public Map getPersonCustomData() { return personCustomData; } public void setPersonCustomData(Map personCustomData) { this.personCustomData = personCustomData; } public Map getWorkCustomData() { return workCustomData; } public void setWorkCustomData(Map workCustomData) { this.workCustomData = workCustomData; } @Override public String toString() { return "Person{" + "workcode='" + workcode + '\'' + ", subcompany='" + subcompany + '\'' + ", department='" + department + '\'' + ", lastname='" + lastname + '\'' + ", loginid='" + loginid + '\'' + ", password='" + password + '\'' + ", seclevel=" + seclevel + ", sex='" + sex + '\'' + ", jobtitle='" + jobtitle + '\'' + ", jobactivityid='" + jobactivityid + '\'' + ", jobgroupid='" + jobgroupid + '\'' + ", jobcall='" + jobcall + '\'' + ", joblevel='" + joblevel + '\'' + ", jobactivitydesc='" + jobactivitydesc + '\'' + ", managerid='" + managerid + '\'' + ", assistantid='" + assistantid + '\'' + ", status='" + status + '\'' + ", locationid='" + locationid + '\'' + ", workroom='" + workroom + '\'' + ", telephone='" + telephone + '\'' + ", mobile='" + mobile + '\'' + ", mobilecall='" + mobilecall + '\'' + ", fax='" + fax + '\'' + ", email='" + email + '\'' + ", systemlanguage='" + systemlanguage + '\'' + ", birthday='" + birthday + '\'' + ", folk='" + folk + '\'' + ", nativeplace='" + nativeplace + '\'' + ", regresidentplace='" + regresidentplace + '\'' + ", certificatenum='" + certificatenum + '\'' + ", maritalstatus='" + maritalstatus + '\'' + ", policy='" + policy + '\'' + ", bememberdate='" + bememberdate + '\'' + ", bepartydate='" + bepartydate + '\'' + ", islabouunion='" + islabouunion + '\'' + ", educationlevel='" + educationlevel + '\'' + ", degree='" + degree + '\'' + ", healthinfo='" + healthinfo + '\'' + ", height=" + height + ", weight=" + weight + ", residentplace='" + residentplace + '\'' + ", homeaddress='" + homeaddress + '\'' + ", tempresidentnumber='" + tempresidentnumber + '\'' + ", belongto='" + belongto + '\'' + ", dsporder='" + dsporder + '\'' + ", accumfundaccount='" + accumfundaccount + '\'' + ", accounttype='" + accounttype + '\'' + ", accountname='" + accountname + '\'' + ", bankid1='" + bankid1 + '\'' + ", accountid1='" + accountid1 + '\'' + ", companystartdate='" + companystartdate + '\'' + ", workstartdate='" + workstartdate + '\'' + ", baseCustomData=" + baseCustomData + ", personCustomData=" + personCustomData + ", workCustomData=" + workCustomData + '}'; } }