|
|
@@ -1,251 +1,288 @@
|
|
|
-/**
|
|
|
- * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
|
|
|
- */
|
|
|
-package com.jeeplus.modules.sys.entity;
|
|
|
-
|
|
|
-import com.jeeplus.modules.hpuser.entity.HpUserContact;
|
|
|
-import com.jeeplus.modules.sys.entity.User;
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
-
|
|
|
-import com.jeeplus.core.persistence.DataEntity;
|
|
|
-import com.jeeplus.common.utils.excel.annotation.ExcelField;
|
|
|
-import com.jeeplus.modules.vipmanager.entity.MpMemberAccountF;
|
|
|
-
|
|
|
-/**
|
|
|
- * 会员表Entity
|
|
|
- * @author lifei
|
|
|
- * @version 2019-08-01
|
|
|
- */
|
|
|
-public class HpMember extends DataEntity<HpMember> {
|
|
|
-
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
- private HpUser hpUser; // 登录用户
|
|
|
- private String phone; // 手机号
|
|
|
- private String realName; // 真是姓名
|
|
|
- private Integer gender; // 性别(0:未知 1:男性 2:女性)
|
|
|
- private Integer birthYear; // 出生年份
|
|
|
- private String idCardNumber; // 身份证号码
|
|
|
- private String idCardFront; // 身份证正面
|
|
|
- private String idCardBack; // 身份证反面
|
|
|
- private String idCardHold; // 手持身份证
|
|
|
- private Integer authenticationStatus; // 认证状态(0:未认证 1:等待认证 2:未通过 3:已认证)
|
|
|
- private String contactPerson; // 联系人(当此字段不为null时,说明跟进模块已被该用户锁住,其他用户不可以跟进)
|
|
|
- private Date contactTime; // 联系时间
|
|
|
- private Integer contactStatus; // 联系状态(0:联系 1:再联系 2:面试 3:入职 4:离职 5:流失)
|
|
|
- private String contactContent; // 联系内容
|
|
|
- private Integer memberType; // 会员级别(0:普通用户)
|
|
|
- private String qrcode; // 用户二维码
|
|
|
- private List<HpUserContact> hpUserContactList; //用户联系列表
|
|
|
- private Integer nativePlaceProvince; //籍贯Code(省)
|
|
|
- private Integer nativePlaceCity; //籍贯Code(市)
|
|
|
- private String nativePlace; //籍贯
|
|
|
- private Integer isMainNation; //是否四大民族(0:不是 1:是)
|
|
|
- private MpMemberAccountF mpMemberAccountF;
|
|
|
-
|
|
|
- public HpMember() {
|
|
|
- super();
|
|
|
- this.setIdType(IDTYPE_AUTO);
|
|
|
- }
|
|
|
-
|
|
|
- public HpMember(String id){
|
|
|
- super(id);
|
|
|
- }
|
|
|
-
|
|
|
- public HpUser getHpUser() {
|
|
|
- return hpUser;
|
|
|
- }
|
|
|
-
|
|
|
- public void setHpUser(HpUser hpUser) {
|
|
|
- this.hpUser = hpUser;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="手机号", align=2, sort=2)
|
|
|
- public String getPhone() {
|
|
|
- return phone;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPhone(String phone) {
|
|
|
- this.phone = phone;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="真是姓名", align=2, sort=3)
|
|
|
- public String getRealName() {
|
|
|
- return realName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRealName(String realName) {
|
|
|
- this.realName = realName;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="性别", align=2, sort=4)
|
|
|
- public Integer getGender() {
|
|
|
- return gender;
|
|
|
- }
|
|
|
-
|
|
|
- public void setGender(Integer gender) {
|
|
|
- this.gender = gender;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="出生年份", align=2, sort=5)
|
|
|
- public Integer getBirthYear() {
|
|
|
- return birthYear;
|
|
|
- }
|
|
|
-
|
|
|
- public void setBirthYear(Integer birthYear) {
|
|
|
- this.birthYear = birthYear;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="身份证号码", align=2, sort=6)
|
|
|
- public String getIdCardNumber() {
|
|
|
- return idCardNumber;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIdCardNumber(String idCardNumber) {
|
|
|
- this.idCardNumber = idCardNumber;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="身份证正面")
|
|
|
- public String getIdCardFront() {
|
|
|
- return idCardFront;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIdCardFront(String idCardFront) {
|
|
|
- this.idCardFront = idCardFront;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="身份证反面")
|
|
|
- public String getIdCardBack() {
|
|
|
- return idCardBack;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIdCardBack(String idCardBack) {
|
|
|
- this.idCardBack = idCardBack;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="手持身份证")
|
|
|
- public String getIdCardHold() {
|
|
|
- return idCardHold;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIdCardHold(String idCardHold) {
|
|
|
- this.idCardHold = idCardHold;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="认证状态(0:未认证 1:等待认证 2:未通过 3:已认证)")
|
|
|
- public Integer getAuthenticationStatus() {
|
|
|
- return authenticationStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAuthenticationStatus(Integer authenticationStatus) {
|
|
|
- this.authenticationStatus = authenticationStatus;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="联系人(当此字段不为null时,说明跟进模块已被该用户锁住,其他用户不可以跟进)")
|
|
|
- public String getContactPerson() {
|
|
|
- return contactPerson;
|
|
|
- }
|
|
|
-
|
|
|
- public void setContactPerson(String contactPerson) {
|
|
|
- this.contactPerson = contactPerson;
|
|
|
- }
|
|
|
-
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @ExcelField(title="联系时间")
|
|
|
- public Date getContactTime() {
|
|
|
- return contactTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setContactTime(Date contactTime) {
|
|
|
- this.contactTime = contactTime;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="联系状态(0:联系 1:再联系 2:面试 3:入职 4:离职 5:流失) ", align=2, sort=13)
|
|
|
- public Integer getContactStatus() {
|
|
|
- return contactStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setContactStatus(Integer contactStatus) {
|
|
|
- this.contactStatus = contactStatus;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="联系内容")
|
|
|
- public String getContactContent() {
|
|
|
- return contactContent;
|
|
|
- }
|
|
|
-
|
|
|
- public void setContactContent(String contactContent) {
|
|
|
- this.contactContent = contactContent;
|
|
|
- }
|
|
|
-
|
|
|
- @NotNull(message="会员级别(0:普通用户)不能为空")
|
|
|
- @ExcelField(title="会员级别(0:普通用户)")
|
|
|
- public Integer getMemberType() {
|
|
|
- return memberType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMemberType(Integer memberType) {
|
|
|
- this.memberType = memberType;
|
|
|
- }
|
|
|
-
|
|
|
- @ExcelField(title="用户二维码")
|
|
|
- public String getQrcode() {
|
|
|
- return qrcode;
|
|
|
- }
|
|
|
-
|
|
|
- public void setQrcode(String qrcode) {
|
|
|
- this.qrcode = qrcode;
|
|
|
- }
|
|
|
-
|
|
|
- public List<HpUserContact> getHpUserContactList() {
|
|
|
- return hpUserContactList;
|
|
|
- }
|
|
|
-
|
|
|
- public void setHpUserContactList(List<HpUserContact> hpUserContactList) {
|
|
|
- this.hpUserContactList = hpUserContactList;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- public Integer getNativePlaceProvince() {
|
|
|
- return nativePlaceProvince;
|
|
|
- }
|
|
|
-
|
|
|
- public void setNativePlaceProvince(Integer nativePlaceProvince) {
|
|
|
- this.nativePlaceProvince = nativePlaceProvince;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getNativePlaceCity() {
|
|
|
- return nativePlaceCity;
|
|
|
- }
|
|
|
-
|
|
|
- public void setNativePlaceCity(Integer nativePlaceCity) {
|
|
|
- this.nativePlaceCity = nativePlaceCity;
|
|
|
- }
|
|
|
-
|
|
|
- public String getNativePlace() {
|
|
|
- return nativePlace;
|
|
|
- }
|
|
|
-
|
|
|
- public void setNativePlace(String nativePlace) {
|
|
|
- this.nativePlace = nativePlace;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getIsMainNation() {
|
|
|
- return isMainNation;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIsMainNation(Integer isMainNation) {
|
|
|
- this.isMainNation = isMainNation;
|
|
|
- }
|
|
|
-
|
|
|
- public MpMemberAccountF getMpMemberAccountF() {
|
|
|
- return mpMemberAccountF;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMpMemberAccountF(MpMemberAccountF mpMemberAccountF) {
|
|
|
- this.mpMemberAccountF = mpMemberAccountF;
|
|
|
- }
|
|
|
+/**
|
|
|
+ * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
|
|
|
+ */
|
|
|
+package com.jeeplus.modules.sys.entity;
|
|
|
+
|
|
|
+import com.jeeplus.modules.hpuser.entity.HpUserContact;
|
|
|
+import com.jeeplus.modules.sys.entity.User;
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+
|
|
|
+import com.jeeplus.core.persistence.DataEntity;
|
|
|
+import com.jeeplus.common.utils.excel.annotation.ExcelField;
|
|
|
+import com.jeeplus.modules.vipmanager.entity.MpMemberAccountF;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 会员表Entity
|
|
|
+ * @author lifei
|
|
|
+ * @version 2019-08-01
|
|
|
+ */
|
|
|
+public class HpMember extends DataEntity<HpMember> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+ private HpUser hpUser; // 登录用户
|
|
|
+ private String phone; // 手机号
|
|
|
+ private String realName; // 真是姓名
|
|
|
+ private Integer gender; // 性别(0:未知 1:男性 2:女性)
|
|
|
+ private Integer birthYear; // 出生年份
|
|
|
+ private String idCardNumber; // 身份证号码
|
|
|
+ private String idCardFront; // 身份证正面
|
|
|
+ private String idCardBack; // 身份证反面
|
|
|
+ private String idCardHold; // 手持身份证
|
|
|
+ private Integer authenticationStatus; // 认证状态(0:未认证 1:等待认证 2:未通过 3:已认证)
|
|
|
+ private String contactPerson; // 联系人(当此字段不为null时,说明跟进模块已被该用户锁住,其他用户不可以跟进)
|
|
|
+ private Date contactTime; // 联系时间
|
|
|
+ private Integer contactStatus; // 联系状态(0:联系 1:再联系 2:面试 3:入职 4:离职 5:流失)
|
|
|
+ private String contactContent; // 联系内容
|
|
|
+ private Integer memberType; // 会员级别(0:普通用户)
|
|
|
+ private String qrcode; // 用户二维码
|
|
|
+ private List<HpUserContact> hpUserContactList; //用户联系列表
|
|
|
+ private Integer nativePlaceProvince; //籍贯Code(省)
|
|
|
+ private Integer nativePlaceCity; //籍贯Code(市)
|
|
|
+ private String nativePlace; //籍贯
|
|
|
+ private Integer isMainNation; //是否四大民族(0:不是 1:是)
|
|
|
+ private MpMemberAccountF mpMemberAccountF;
|
|
|
+ private Integer isManualCheck; //是否人工审核(0:否;1:是)
|
|
|
+ private Date authenticationTime; //认证时间
|
|
|
+ private Date beginAuthenticationTime; // 开始 认证时间
|
|
|
+ private Date endAuthenticationTime; // 结束 认证时间
|
|
|
+
|
|
|
+ public HpMember() {
|
|
|
+ super();
|
|
|
+ this.setIdType(IDTYPE_AUTO);
|
|
|
+ }
|
|
|
+
|
|
|
+ public HpMember(String id){
|
|
|
+ super(id);
|
|
|
+ }
|
|
|
+
|
|
|
+ public HpUser getHpUser() {
|
|
|
+ return hpUser;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHpUser(HpUser hpUser) {
|
|
|
+ this.hpUser = hpUser;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="手机号", align=2, sort=2)
|
|
|
+ public String getPhone() {
|
|
|
+ return phone;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPhone(String phone) {
|
|
|
+ this.phone = phone;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="真是姓名", align=2, sort=3)
|
|
|
+ public String getRealName() {
|
|
|
+ return realName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRealName(String realName) {
|
|
|
+ this.realName = realName;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="性别", align=2, sort=4)
|
|
|
+ public Integer getGender() {
|
|
|
+ return gender;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGender(Integer gender) {
|
|
|
+ this.gender = gender;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="出生年份", align=2, sort=5)
|
|
|
+ public Integer getBirthYear() {
|
|
|
+ return birthYear;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBirthYear(Integer birthYear) {
|
|
|
+ this.birthYear = birthYear;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="身份证号码", align=2, sort=6)
|
|
|
+ public String getIdCardNumber() {
|
|
|
+ return idCardNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIdCardNumber(String idCardNumber) {
|
|
|
+ this.idCardNumber = idCardNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="身份证正面")
|
|
|
+ public String getIdCardFront() {
|
|
|
+ return idCardFront;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIdCardFront(String idCardFront) {
|
|
|
+ this.idCardFront = idCardFront;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="身份证反面")
|
|
|
+ public String getIdCardBack() {
|
|
|
+ return idCardBack;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIdCardBack(String idCardBack) {
|
|
|
+ this.idCardBack = idCardBack;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="手持身份证")
|
|
|
+ public String getIdCardHold() {
|
|
|
+ return idCardHold;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIdCardHold(String idCardHold) {
|
|
|
+ this.idCardHold = idCardHold;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="认证状态(0:未认证 1:等待认证 2:未通过 3:已认证)")
|
|
|
+ public Integer getAuthenticationStatus() {
|
|
|
+ return authenticationStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAuthenticationStatus(Integer authenticationStatus) {
|
|
|
+ this.authenticationStatus = authenticationStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="联系人(当此字段不为null时,说明跟进模块已被该用户锁住,其他用户不可以跟进)")
|
|
|
+ public String getContactPerson() {
|
|
|
+ return contactPerson;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContactPerson(String contactPerson) {
|
|
|
+ this.contactPerson = contactPerson;
|
|
|
+ }
|
|
|
+
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @ExcelField(title="联系时间")
|
|
|
+ public Date getContactTime() {
|
|
|
+ return contactTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContactTime(Date contactTime) {
|
|
|
+ this.contactTime = contactTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="联系状态(0:联系 1:再联系 2:面试 3:入职 4:离职 5:流失) ", align=2, sort=13)
|
|
|
+ public Integer getContactStatus() {
|
|
|
+ return contactStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContactStatus(Integer contactStatus) {
|
|
|
+ this.contactStatus = contactStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="联系内容")
|
|
|
+ public String getContactContent() {
|
|
|
+ return contactContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContactContent(String contactContent) {
|
|
|
+ this.contactContent = contactContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ @NotNull(message="会员级别(0:普通用户)不能为空")
|
|
|
+ @ExcelField(title="会员级别(0:普通用户)")
|
|
|
+ public Integer getMemberType() {
|
|
|
+ return memberType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMemberType(Integer memberType) {
|
|
|
+ this.memberType = memberType;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="用户二维码")
|
|
|
+ public String getQrcode() {
|
|
|
+ return qrcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setQrcode(String qrcode) {
|
|
|
+ this.qrcode = qrcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<HpUserContact> getHpUserContactList() {
|
|
|
+ return hpUserContactList;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHpUserContactList(List<HpUserContact> hpUserContactList) {
|
|
|
+ this.hpUserContactList = hpUserContactList;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ public Integer getNativePlaceProvince() {
|
|
|
+ return nativePlaceProvince;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNativePlaceProvince(Integer nativePlaceProvince) {
|
|
|
+ this.nativePlaceProvince = nativePlaceProvince;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getNativePlaceCity() {
|
|
|
+ return nativePlaceCity;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNativePlaceCity(Integer nativePlaceCity) {
|
|
|
+ this.nativePlaceCity = nativePlaceCity;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getNativePlace() {
|
|
|
+ return nativePlace;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNativePlace(String nativePlace) {
|
|
|
+ this.nativePlace = nativePlace;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getIsMainNation() {
|
|
|
+ return isMainNation;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsMainNation(Integer isMainNation) {
|
|
|
+ this.isMainNation = isMainNation;
|
|
|
+ }
|
|
|
+
|
|
|
+ public MpMemberAccountF getMpMemberAccountF() {
|
|
|
+ return mpMemberAccountF;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMpMemberAccountF(MpMemberAccountF mpMemberAccountF) {
|
|
|
+ this.mpMemberAccountF = mpMemberAccountF;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getIsManualCheck() {
|
|
|
+ return isManualCheck;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsManualCheck(Integer isManualCheck) {
|
|
|
+ this.isManualCheck = isManualCheck;
|
|
|
+ }
|
|
|
+
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ public Date getAuthenticationTime() {
|
|
|
+ return authenticationTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAuthenticationTime(Date authenticationTime) {
|
|
|
+ this.authenticationTime = authenticationTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getBeginAuthenticationTime() {
|
|
|
+ return beginAuthenticationTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginAuthenticationTime(Date beginAuthenticationTime) {
|
|
|
+ this.beginAuthenticationTime = beginAuthenticationTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getEndAuthenticationTime() {
|
|
|
+ return endAuthenticationTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndAuthenticationTime(Date endAuthenticationTime) {
|
|
|
+ this.endAuthenticationTime = endAuthenticationTime;
|
|
|
+ }
|
|
|
}
|