| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593 |
- /**
- * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
- */
- package com.jeeplus.modules.api.hpposition.entity;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.jeeplus.common.utils.StringUtils;
- import com.jeeplus.common.utils.excel.annotation.ExcelField;
- import com.jeeplus.core.persistence.DataEntity;
- import com.jeeplus.modules.hpcompany.entity.HpCompany;
- import com.jeeplus.modules.hpposition.entity.HpPositionAddress;
- import com.jeeplus.modules.sys.utils.DictUtils;
- import com.jeeplus.modules.utils.GPS;
- import com.jeeplus.modules.utils.GPSConverterUtils;
- import java.util.Date;
- import java.util.List;
- /**
- * 入职奖励岗位Entity
- *
- * @author zwq
- * @version 2019-04-08
- */
- public class HpRewardPositionAPI extends DataEntity<HpRewardPositionAPI> {
- private static final long serialVersionUID = 1L;
- private String positionName; // 岗位名称
- private HpCompany hpCompany; // 所属公司
- private String positionType; // 职位类别(0:服务员 1:校园活动 2:实习 3:调研 4:送餐员 5:导购 6:网络编辑 7:普工 8:设计 9:文员助理 10:派单 11:销售 12:安保 13:礼仪 14:促销 15:翻译 16:客服 17:演出 18:家教导师 19:模特 20:快递分拣 21:厨师 22:物流仓储 23:贸易采购 24:技工 25:保洁 26:才艺技能 27:其它)
- private String positionFeature; // 职位性质(0:全职 1:兼职 2:实习)
- private String recruitNumber; // 招聘人数(null视为若干)
- private String basicSalary; // 基础薪资(0:1000~2000 1:2001~3000 2:3001~4000 3:4001~5000 4:5001~6000 5:6001~7000 6:7001~8000 7:8001~9000 8:9001~10000 9:10000以上)
- private String workTime; // 工作时间
- private String salaryStructure; // 薪资结构
- private String otherInformation; // 其他
- private String totalSalary; // 综合薪资(0:1000~2000 1:2001~3000 2:3001~4000 3:4001~5000 4:5001~6000 5:6001~7000 6:7001~8000 7:8001~9000 8:9001~10000 9:10000以上)
- private String totalSalaryValue; //综合薪资value(用于查询)
- private String workEnvironment; // 工作环境
- private String payDay; // 发工资日
- private String positionDetail; // 职位描述
- private String offerType; // 招聘形式(1:开心直招 2:企业直招 )
- private Boolean isPublishNationwide; // 是否全国发布(0:不是 1:是)
- private String qualification; // 学历要求(0:不限 1:小学 2:中学 3:高中 4:大专 5:本科 6:研究生 7:博士 8:博士后 15:其他)
- private String workExperience; // 工作经验(0:不限 1:1~2年 2:2~3年 3:3~5年 4:5年以上)
- private Integer gender; // 性别要求(0:不限 1:男 2:女)
- private String ageRange; // 年龄要求
- private Boolean isPhysical; // 是否体检(0:否 1:是)
- private String profressionSkill; // 专业技能
- private String otherRequirement; // 其他要求
- private Integer maleReward; // 奖励金额(男)
- private Integer femaleReward; // 奖励金额(女)
- private String rewardCondition; // 奖励条件
- private String workDinner; // 工作餐(0:不提供工作餐 1:提供工作餐 2:提供午餐,晚餐)
- private String accommodation; // 住宿(0:不提供住宿 1:提供住宿 2:提供住宿(需付费))
- private String socialSecurity; // 社保(0:不缴纳社保 1:缴纳五险 2:缴纳五险一金 6:缴纳六金)
- private String regularBus; // 交通(0:不提供班车 1:不提供班车,有交通补贴 2:提供班车 )
- private String busDetail; // 班车详情
- private String specialWelfare; // 其他福利(0:季度旅游 1:节日福利 2:年底双薪 3:加班补助 4:其他)
- private String otherWelfare; // 其他福利选择其他项时可填其他福利描述
- private String contactPerson; // 联系人
- private String contactPhone; // 联系电话
- private Boolean isPublish; // 是否发布(0:未发布 1:已发布)
- private Date publishTime; // 发布时间(岗位招聘开始时间),岗位招聘对外显示条件为发布时间到截至时间,且岗位未暂停招聘
- private Date endTime; // 截至时间(岗位招聘结束时间,不填即为长期招聘)
- private Boolean isPause; // 是否暂停(0:不是 1:是)
- private Boolean isHot; // 是否热门(0:不是 1:是)
- private Integer positionCategory; //岗位类型(0:全职 1:兼职 2:入职奖励 3:高薪急聘 4:拼团岗位 5:福利岗位)
- private String reward; //入职奖励金额(实际返费)
- private List<HpPositionAddress> hpPositionAddressList; //岗位地址
- private HpPositionAddress hpPositionAddress; //岗位地址对象
- private String longitude;//经度
- private String latitude;//纬度
- private String sort; //距离排序(1:正序;2:倒序)
- public HpRewardPositionAPI() {
- super();
- this.setIdType(IDTYPE_AUTO);
- }
- public HpPositionAddress getHpPositionAddress() {
- return hpPositionAddress;
- }
- public void setHpPositionAddress(HpPositionAddress hpPositionAddress) {
- this.hpPositionAddress = hpPositionAddress;
- }
- public HpRewardPositionAPI(String id) {
- super(id);
- }
- @ExcelField(title = "岗位名称", align = 2, sort = 1)
- public String getPositionName() {
- return positionName;
- }
- public void setPositionName(String positionName) {
- this.positionName = positionName;
- }
- public HpCompany getHpCompany() {
- return hpCompany;
- }
- public void setHpCompany(HpCompany hpCompany) {
- this.hpCompany = hpCompany;
- }
- @ExcelField(title = "职位类别(0:服务员 1:校园活动 2:实习 3:调研 4:送餐员 5:导购 6:网络编辑 7:普工 8:设计 9:文员助理 10:派单 11:销售 12:安保 13:礼仪 14:促销 15:翻译 16:客服 17:演出 18:家教导师 19:模特 20:快递分拣 21:厨师 22:物流仓储 23:贸易采购 24:技工 25:保洁 26:才艺技能 27:其它)", align = 2, sort = 3)
- public String getPositionType() {
- if (StringUtils.isNotBlank(positionType)) {
- positionType = DictUtils.getDictLabel(positionType, "fullposition_type", "");
- }
- return positionType;
- }
- public void setPositionType(String positionType) {
- this.positionType = positionType;
- }
- @ExcelField(title = "职位性质(0:全职 1:兼职 2:实习)", align = 2, sort = 4)
- public String getPositionFeature() {
- if (StringUtils.isNotBlank(positionFeature)) {
- positionFeature = DictUtils.getDictLabel(positionFeature, "position_feature", "");
- }
- return positionFeature;
- }
- public void setPositionFeature(String positionFeature) {
- this.positionFeature = positionFeature;
- }
- @ExcelField(title = "招聘人数(null视为若干)", align = 2, sort = 5)
- public String getRecruitNumber() {
- return recruitNumber;
- }
- public void setRecruitNumber(String recruitNumber) {
- this.recruitNumber = recruitNumber;
- }
- @ExcelField(title = "基础薪资(0:1000~2000 1:2001~3000 2:3001~4000 3:4001~5000 4:5001~6000 5:6001~7000 6:7001~8000 7:8001~9000 8:9001~10000 9:10000以上)", align = 2, sort = 6)
- public String getBasicSalary() {
- if (StringUtils.isNotBlank(basicSalary)) {
- basicSalary = DictUtils.getDictLabel(basicSalary, "basic_salary", "") + "元";
- }
- return basicSalary;
- }
- public void setBasicSalary(String basicSalary) {
- this.basicSalary = basicSalary;
- }
- @ExcelField(title = "工作时间", align = 2, sort = 7)
- public String getWorkTime() {
- return workTime;
- }
- public void setWorkTime(String workTime) {
- this.workTime = workTime;
- }
- @ExcelField(title = "薪资结构", align = 2, sort = 8)
- public String getSalaryStructure() {
- return salaryStructure;
- }
- public void setSalaryStructure(String salaryStructure) {
- this.salaryStructure = salaryStructure;
- }
- @ExcelField(title = "其他", align = 2, sort = 9)
- public String getOtherInformation() {
- return otherInformation;
- }
- public void setOtherInformation(String otherInformation) {
- this.otherInformation = otherInformation;
- }
- @ExcelField(title = "综合薪资(0:1000~2000 1:2001~3000 2:3001~4000 3:4001~5000 4:5001~6000 5:6001~7000 6:7001~8000 7:8001~9000 8:9001~10000 9:10000以上)", align = 2, sort = 10)
- public String getTotalSalary() {
- if (StringUtils.isNotBlank(totalSalary)) {
- totalSalary = DictUtils.getDictLabel(totalSalary, "basic_salary", "") + "元";
- }
- return totalSalary;
- }
- public void setTotalSalary(String totalSalary) {
- this.totalSalary = totalSalary;
- }
- @ExcelField(title = "工作环境", align = 2, sort = 11)
- public String getWorkEnvironment() {
- return workEnvironment;
- }
- public void setWorkEnvironment(String workEnvironment) {
- this.workEnvironment = workEnvironment;
- }
- @ExcelField(title = "发工资日", align = 2, sort = 12)
- public String getPayDay() {
- return payDay;
- }
- public void setPayDay(String payDay) {
- this.payDay = payDay;
- }
- @ExcelField(title = "职位描述", align = 2, sort = 13)
- public String getPositionDetail() {
- return positionDetail;
- }
- public void setPositionDetail(String positionDetail) {
- this.positionDetail = positionDetail;
- }
- @ExcelField(title = "招聘形式(1:开心直招 2:企业直招 )", align = 2, sort = 14)
- public String getOfferType() {
- if (StringUtils.isNotBlank(offerType)) {
- offerType = DictUtils.getDictLabel(offerType, "offer_type", "");
- }
- return offerType;
- }
- public void setOfferType(String offerType) {
- this.offerType = offerType;
- }
- @ExcelField(title = "是否全国发布(0:不是 1:是)", align = 2, sort = 15)
- public Boolean getIsPublishNationwide() {
- return isPublishNationwide;
- }
- public void setIsPublishNationwide(Boolean isPublishNationwide) {
- this.isPublishNationwide = isPublishNationwide;
- }
- @ExcelField(title = "学历要求(0:不限 1:小学 2:中学 3:高中 4:大专 5:本科 6:研究生 7:博士 8:博士后 15:其他)", align = 2, sort = 16)
- public String getQualification() {
- if (StringUtils.isNotBlank(qualification)) {
- qualification = DictUtils.getDictLabel(qualification, "qualification", "");
- }
- return qualification;
- }
- public void setQualification(String qualification) {
- this.qualification = qualification;
- }
- @ExcelField(title = "工作经验(0:不限 1:1~2年 2:2~3年 3:3~5年 4:5年以上)", align = 2, sort = 17)
- public String getWorkExperience() {
- if (StringUtils.isNotBlank(workExperience)) {
- workExperience = DictUtils.getDictLabel(workExperience, "work_experience", "");
- }
- return workExperience;
- }
- public void setWorkExperience(String workExperience) {
- this.workExperience = workExperience;
- }
- @ExcelField(title = "性别要求(0:不限 1:男 2:女)", align = 2, sort = 18)
- public Integer getGender() {
- return gender;
- }
- public void setGender(Integer gender) {
- this.gender = gender;
- }
- @ExcelField(title = "年龄要求", align = 2, sort = 19)
- public String getAgeRange() {
- return ageRange;
- }
- public void setAgeRange(String ageRange) {
- this.ageRange = ageRange;
- }
- @ExcelField(title = "是否体检(0:是 1:否)", align = 2, sort = 20)
- public Boolean getIsPhysical() {
- return isPhysical;
- }
- public void setIsPhysical(Boolean isPhysical) {
- this.isPhysical = isPhysical;
- }
- @ExcelField(title = "专业技能", align = 2, sort = 21)
- public String getProfressionSkill() {
- return profressionSkill;
- }
- public void setProfressionSkill(String profressionSkill) {
- this.profressionSkill = profressionSkill;
- }
- @ExcelField(title = "其他要求", align = 2, sort = 22)
- public String getOtherRequirement() {
- return otherRequirement;
- }
- public void setOtherRequirement(String otherRequirement) {
- this.otherRequirement = otherRequirement;
- }
- @ExcelField(title = "奖励金额(男)", align = 2, sort = 23)
- public Integer getMaleReward() {
- return maleReward;
- }
- public void setMaleReward(Integer maleReward) {
- this.maleReward = maleReward;
- }
- @ExcelField(title = "奖励金额(女)", align = 2, sort = 24)
- public Integer getFemaleReward() {
- return femaleReward;
- }
- public void setFemaleReward(Integer femaleReward) {
- this.femaleReward = femaleReward;
- }
- @ExcelField(title = "奖励条件", align = 2, sort = 25)
- public String getRewardCondition() {
- return rewardCondition;
- }
- public void setRewardCondition(String rewardCondition) {
- this.rewardCondition = rewardCondition;
- }
- @ExcelField(title = "工作餐(0:不提供工作餐 1:提供工作餐 2:提供午餐,晚餐)", align = 2, sort = 26)
- public String getWorkDinner() {
- if ("0".equals(workDinner)) {
- return null;
- }
- workDinner = DictUtils.getDictLabel(workDinner, "work_dinner", "");
- return workDinner;
- }
- public void setWorkDinner(String workDinner) {
- this.workDinner = workDinner;
- }
- @ExcelField(title = "住宿(0:不提供住宿 1:提供住宿 2:提供住宿(需付费))", align = 2, sort = 27)
- public String getAccommodation() {
- if ("0".equals(accommodation)) {
- return null;
- }
- accommodation = DictUtils.getDictLabel(accommodation, "accommodation", "");
- return accommodation;
- }
- public void setAccommodation(String accommodation) {
- this.accommodation = accommodation;
- }
- @ExcelField(title = "社保(0:不缴纳社保 1:缴纳五险 2:缴纳五险一金 6:缴纳六金)", align = 2, sort = 28)
- public String getSocialSecurity() {
- if ("0".equals(socialSecurity)) {
- return null;
- }
- socialSecurity = DictUtils.getDictLabel(socialSecurity, "social_security", "");
- return socialSecurity;
- }
- public void setSocialSecurity(String socialSecurity) {
- this.socialSecurity = socialSecurity;
- }
- @ExcelField(title = "交通(0:不提供班车 1:不提供班车,有交通补贴 2:提供班车 )", align = 2, sort = 29)
- public String getRegularBus() {
- if ("0".equals(regularBus)) {
- return null;
- }
- regularBus = DictUtils.getDictLabel(regularBus, "regular_bus", "");
- return regularBus;
- }
- public void setRegularBus(String regularBus) {
- this.regularBus = regularBus;
- }
- @ExcelField(title = "班车详情", align = 2, sort = 30)
- public String getBusDetail() {
- return busDetail;
- }
- public void setBusDetail(String busDetail) {
- this.busDetail = busDetail;
- }
- @ExcelField(title = "其他福利(0:季度旅游 1:节日福利 2:年底双薪 3:加班补助 4:其他)", align = 2, sort = 31)
- public String getSpecialWelfare() {
- if (StringUtils.isNotBlank(specialWelfare)) {
- String[] specialWelfareArray = specialWelfare.split(",");
- StringBuilder stringBuilder = new StringBuilder();
- for (int i = 0; i < specialWelfareArray.length; i++) {
- String specialWelfare = DictUtils.getDictLabel(specialWelfareArray[i], "special_welfare", "");
- stringBuilder.append(specialWelfare + ",");
- }
- specialWelfare = stringBuilder.toString();
- specialWelfare = specialWelfare.substring(0, specialWelfare.lastIndexOf(","));
- return specialWelfare;
- }
- return specialWelfare;
- }
- public void setSpecialWelfare(String specialWelfare) {
- this.specialWelfare = specialWelfare;
- }
- @ExcelField(title = "其他福利选择其他项时可填其他福利描述", align = 2, sort = 32)
- public String getOtherWelfare() {
- return otherWelfare;
- }
- public void setOtherWelfare(String otherWelfare) {
- this.otherWelfare = otherWelfare;
- }
- @ExcelField(title = "联系人", align = 2, sort = 33)
- public String getContactPerson() {
- return contactPerson;
- }
- public void setContactPerson(String contactPerson) {
- this.contactPerson = contactPerson;
- }
- @ExcelField(title = "联系电话", align = 2, sort = 34)
- public String getContactPhone() {
- return contactPhone;
- }
- public void setContactPhone(String contactPhone) {
- this.contactPhone = contactPhone;
- }
- @ExcelField(title = "是否发布(0:未发布 1:已发布)", align = 2, sort = 37)
- public Boolean getIsPublish() {
- return isPublish;
- }
- public void setIsPublish(Boolean isPublish) {
- this.isPublish = isPublish;
- }
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @ExcelField(title = "发布时间(岗位招聘开始时间),岗位招聘对外显示条件为发布时间到截至时间,且岗位未暂停招聘", align = 2, sort = 38)
- public Date getPublishTime() {
- return publishTime;
- }
- public void setPublishTime(Date publishTime) {
- this.publishTime = publishTime;
- }
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @ExcelField(title = "截至时间(岗位招聘结束时间,不填即为长期招聘)", align = 2, sort = 39)
- public Date getEndTime() {
- return endTime;
- }
- public void setEndTime(Date endTime) {
- this.endTime = endTime;
- }
- @ExcelField(title = "是否暂停(0:不是 1:是)", align = 2, sort = 40)
- public Boolean getIsPause() {
- return isPause;
- }
- public void setIsPause(Boolean isPause) {
- this.isPause = isPause;
- }
- @ExcelField(title = "是否热门(0:不是 1:是)", align = 2, sort = 41)
- public Boolean getIsHot() {
- return isHot;
- }
- public void setIsHot(Boolean isHot) {
- this.isHot = isHot;
- }
- public Integer getPositionCategory() {
- return positionCategory;
- }
- public void setPositionCategory(Integer positionCategory) {
- this.positionCategory = positionCategory;
- }
- public String getReward() {
- if (getMaleReward() != null && getFemaleReward() != null) {
- if (getMaleReward().equals(getFemaleReward())) {
- if (getMaleReward() != 0) {
- return String.valueOf(getMaleReward());
- }
- } else {
- if (getMaleReward() == 0) {
- return "女返" + getFemaleReward();
- }
- if (getFemaleReward() == 0) {
- return "男返" + getMaleReward();
- }
- return "男返" + getMaleReward() + ",女返" + getFemaleReward();
- }
- }
- return reward;
- }
- public void setReward(String reward) {
- this.reward = reward;
- }
- public List<HpPositionAddress> getHpPositionAddressList() {
- return hpPositionAddressList;
- }
- public void setHpPositionAddressList(List<HpPositionAddress> hpPositionAddressList) {
- this.hpPositionAddressList = hpPositionAddressList;
- }
- public String getLongitude() {
- if (StringUtils.isNotBlank(longitude)) {
- GPS gps = GPSConverterUtils.gcj02_To_Bd09(Double.parseDouble(latitude), Double.parseDouble(longitude));
- return String.valueOf(gps.getLon());
- }
- return longitude;
- }
- public void setLongitude(String longitude) {
- this.longitude = longitude;
- }
- public String getLatitude() {
- if (StringUtils.isNotBlank(latitude)) {
- GPS gps = GPSConverterUtils.gcj02_To_Bd09(Double.parseDouble(latitude), Double.parseDouble(longitude));
- return String.valueOf(gps.getLat());
- }
- return latitude;
- }
- public void setLatitude(String latitude) {
- this.latitude = latitude;
- }
- public String getTotalSalaryValue() {
- return totalSalaryValue;
- }
- public void setTotalSalaryValue(String totalSalaryValue) {
- this.totalSalaryValue = totalSalaryValue;
- }
- public String getSort() {
- return sort;
- }
- public void setSort(String sort) {
- this.sort = sort;
- }
- @Override
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- public Date getCreateDate() {
- return createDate;
- }
- @Override
- public void setCreateDate(Date createDate) {
- this.createDate = createDate;
- }
- @Override
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- public Date getUpdateDate() {
- return super.getUpdateDate();
- }
- @Override
- public void setUpdateDate(Date updateDate) {
- super.setUpdateDate(updateDate);
- }
- }
|