123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634 |
- 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 +
- '}';
- }
- }
|