From 241a49f9653aa83d1dcd9bf646208da3157df35a Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Mon, 05 Apr 2021 22:48:14 +0800
Subject: [PATCH] 合并BizUser表与SysVipInfo表 大部分逻辑已经修正 可能存在问题的 1、拼团秒杀 2、分享图 3、分销结算
---
zq-erp/src/main/java/com/matrix/system/hive/bean/SysVipInfo.java | 701 ++++++---------------------------------------------------
1 files changed, 78 insertions(+), 623 deletions(-)
diff --git a/zq-erp/src/main/java/com/matrix/system/hive/bean/SysVipInfo.java b/zq-erp/src/main/java/com/matrix/system/hive/bean/SysVipInfo.java
index 63c91e7..3a4f2bf 100644
--- a/zq-erp/src/main/java/com/matrix/system/hive/bean/SysVipInfo.java
+++ b/zq-erp/src/main/java/com/matrix/system/hive/bean/SysVipInfo.java
@@ -1,8 +1,11 @@
package com.matrix.system.hive.bean;
+
import com.fasterxml.jackson.annotation.JsonFormat;
+import com.google.gson.annotations.Expose;
import com.matrix.core.tools.DateUtil;
import com.matrix.system.hive.plugin.util.ExcelAnnotation;
+import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
@@ -10,17 +13,22 @@
import java.util.List;
-/**
- * @Title: SysVipInfo.java
- * @Package com.zkingsoft.model
- * @description
- * @author jyy
- * @email 18075895212@qq.com
- * @date 2016年7月14日 上午10:59:29
- */
+
+@Data
public class SysVipInfo implements Serializable {
private static final long serialVersionUID = 1L;
+ /**
+ * 是销售员
+ */
+ public static final int IS_SALES = 1;
+ /**
+ * 不是销售员
+ */
+ public static final int NOT_SALES = 2;
+
+
+
/**
* 1、成交客户
* **/
@@ -230,9 +238,63 @@
private SysOrder sysOrder;
+ /**
+ * 可提现金额
+ */
+ private Double withdrawalCash;
+ /**
+ *推广员等级
+ */
+ private Long salesmanGrade;
+
+ /**
+ * 用户昵称
+ */
+ private String nickName;
- /** 扩展信息 **/
+ /**
+ * 头像
+ */
+ private String avatarUrl;
+
+ /**
+ * 性别 1、男 2、女 0、未知
+ */
+ private String gender;
+
+ /**
+ * 用户所在国家
+ */
+ private String country;
+
+
+
+ /**
+ * 用户是否授权 1、是 2、否
+ */
+ private Integer userIsAuthorize;
+
+
+ /**
+ * 绑定上级用户时间
+ */
+ private Date bindingParentTime;
+
+
+ /**
+ * 是否是销售员(1=是,2=否)
+ */
+ private Integer isSales;
+
+ /**
+ * 用户类型 1、待审核 2、审核通过 0、审核未通过
+ */
+ private Integer fenxiaoState;
+
+ private String sessionKey;
+
+
/**
* 会员等级id
*/
@@ -268,6 +330,8 @@
* 页面上的入会时间
*/
private String inDateVo;
+
+
/**
* 页面上的生日
*/
@@ -336,208 +400,31 @@
/**
* 美疗师集合
*/
+ @Expose(serialize = false)
private List<MyBeatician> beauticains;
/**
* 会员问卷信息-答案,传递数据使用
*/
+ @Expose(serialize = false)
List<VipAnswer> vipAnswers;
/**
* 会员标签
*/
+ @Expose(serialize = false)
List<SysVipLabel> labels;
- public List<SysVipLabel> getLabels() {
- return labels;
- }
-
- public void setLabels(List<SysVipLabel> labels) {
- this.labels = labels;
- }
-
- public String getAge() {
- return age;
- }
-
- public void setAge(String age) {
- this.age = age;
- }
-
- public Long getCompanyId() {
- return companyId;
- }
-
- public void setCompanyId(Long companyId) {
- this.companyId = companyId;
- }
-
- public String getOpenId() {
- return openId;
- }
-
- public void setOpenId(String openId) {
- this.openId = openId;
- }
-
- public String getProvince() {
- return province;
- }
-
- public void setProvince(String province) {
- this.province = province;
- }
-
- public String getCity() {
- return city;
- }
-
- public void setCity(String city) {
- this.city = city;
- }
-
- public String getArea() {
- return area;
- }
-
- public void setArea(String area) {
- this.area = area;
- }
-
- public Long getRecommendId() {
- return recommendId;
- }
-
- public void setRecommendId(Long recommendId) {
- this.recommendId = recommendId;
- }
-
- public SysOrder getSysOrder() {
- return sysOrder;
- }
-
- public void setSysOrder(SysOrder sysOrder) {
- this.sysOrder = sysOrder;
- }
-
- public Integer getIsDeal() {
- return isDeal;
- }
-
- public void setIsDeal(Integer isDeal) {
- this.isDeal = isDeal;
- }
-
- public Long getParentId() {
- return parentId;
- }
-
- public void setParentId(Long parentId) {
- this.parentId = parentId;
- }
-
- public Date getCreateDistributionTime() {
- return createDistributionTime;
- }
-
- public void setCreateDistributionTime(Date createDistributionTime) {
- this.createDistributionTime = createDistributionTime;
- }
-
- public Date getHandleTime() {
- return handleTime;
- }
-
- public void setHandleTime(Date handleTime) {
- this.handleTime = handleTime;
- }
- public String getPayTotal() {
- return payTotal;
- }
-
- public void setPayTotal(String payTotal) {
- this.payTotal = payTotal;
- }
-
- public Integer getCostTotal() {
- return costTotal;
- }
-
- public void setCostTotal(Integer costTotal) {
- this.costTotal = costTotal;
- }
-
- public String getCostNum() {
- return costNum;
- }
-
- public void setCostNum(String costNum) {
- this.costNum = costNum;
- }
-
- public String getTimeStart() {
- return timeStart;
- }
-
- public void setTimeStart(String timeStart) {
- this.timeStart = timeStart;
- }
-
- public String getTimeEnd() {
- return timeEnd;
- }
-
- public void setTimeEnd(String timeEnd) {
- this.timeEnd = timeEnd;
- }
-
- public Integer getVipNum() {
- return vipNum;
- }
-
- public void setVipNum(Integer vipNum) {
- this.vipNum = vipNum;
- }
-
-
- public String getPhoto() {
- return photo;
- }
-
- public void setPhoto(String photo) {
- this.photo = photo;
- }
-
- public String getYear() {
- return year;
- }
-
- public void setYear(String year) {
- this.year = year;
- }
-
- public boolean isQdSign() {
- return qdSign;
- }
/**
* 会员所有的充值卡
*/
+ @Expose(serialize = false,deserialize = false)
private List<MoneyCardUse> cards;
-
-
-
- public List<MoneyCardUse> getCards() {
- return cards;
- }
-
- public void setCards(List<MoneyCardUse> cards) {
- this.cards = cards;
- }
@@ -547,440 +434,8 @@
* 没签到false
*/
private boolean qdSign;
+
private String name;
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public boolean getQdSign() {
- return qdSign;
- }
-
- public void setQdSign(boolean qdSign) {
- this.qdSign = qdSign;
- }
-
- public String getUuid() {
- return uuid;
- }
-
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
- public String getDisease() {
- return disease;
- }
-
- public void setDisease(String disease) {
- this.disease = disease;
- }
-
- public Date getStartTime() {
- return startTime;
- }
-
- public Integer getRankType() {
- return rankType;
- }
-
- public void setRankType(Integer rankType) {
- this.rankType = rankType;
- }
-
- public void setStartTime(Date startTime) {
- this.startTime = startTime;
- }
-
- public Date getEndTime() {
- return endTime;
- }
-
-
-
- public void setEndTime(Date endTime) {
- this.endTime = endTime;
- }
-
- public Integer getRanking() {
- return ranking;
- }
-
- public void setRanking(Integer ranking) {
- this.ranking = ranking;
- }
-
- public String getEmail() {
- return email;
- }
-
- public void setEmail(String email) {
- this.email = email;
- }
-
- public String getShopName() {
- return shopName;
- }
-
- public String getInDateVo() {
- return inDateVo;
- }
-
- public void setInDateVo(String inDateVo) {
- this.inDateVo = inDateVo;
- }
-
- public String getBirthday1Vo() {
- return birthday1Vo;
- }
-
- public void setBirthday1Vo(String birthday1Vo) {
- this.birthday1Vo = birthday1Vo;
- }
-
- public void setShopName(String shopName) {
- this.shopName = shopName;
- }
-
- public Long getShopId() {
- return shopId;
- }
-
- public void setShopId(Long shopId) {
- this.shopId = shopId;
- }
- public Long getStaffId() {
- return staffId;
- }
-
- public void setStaffId(Long staffId) {
- this.staffId = staffId;
- }
-
-
-
-
-
- public String getStaffName() {
- return staffName;
- }
-
- public void setStaffName(String staffName) {
- this.staffName = staffName;
- }
-
- public Long getId() {
- return id;
- }
-
- public void setId(Long id) {
- this.id = id;
- }
-
- public String getVipNo() {
- return vipNo;
- }
-
- public void setVipNo(String vipNo) {
- this.vipNo = vipNo;
- }
-
- public String getVipName() {
- return vipName;
- }
-
- public void setVipName(String vipName) {
- this.vipName = vipName;
- }
-
-
- public String getZjm() {
- return zjm;
- }
-
- public void setZjm(String zjm) {
- this.zjm = zjm;
- }
-
- public String getPhone() {
- return phone;
- }
-
- public void setPhone(String phone) {
- this.phone = phone;
- }
-
-
- public String getSex() {
- return sex;
- }
-
- public void setSex(String sex) {
- this.sex = sex;
- }
-
- public Date getBirthday1() {
- return birthday1;
- }
-
- public void setBirthday1(Date birthday1) {
- this.birthday1 = birthday1;
- }
-
- public String getAddr() {
- return addr;
- }
-
- public void setAddr(String addr) {
- this.addr = addr;
- }
-
- public String getConstell() {
- return constell;
- }
-
- public void setConstell(String constell) {
- this.constell = constell;
- }
-
- public String getAnimalSign() {
- return animalSign;
- }
-
- public void setAnimalSign(String animalSign) {
- this.animalSign = animalSign;
- }
-
- public String getArrivalWay() {
- return arrivalWay;
- }
-
- public void setArrivalWay(String arrivalWay) {
- this.arrivalWay = arrivalWay;
- }
-
- public String getVipType() {
- return vipType;
- }
-
- public void setVipType(String vipType) {
- this.vipType = vipType;
- }
-
- public String getVipState() {
- return vipState;
- }
-
- public void setVipState(String vipState) {
- this.vipState = vipState;
- }
-
- public String getIsDelete() {
- return isDelete;
- }
-
- public void setIsDelete(String isDelete) {
- this.isDelete = isDelete;
- }
-
- public Integer getPointAll() {
- return pointAll;
- }
-
- public void setPointAll(Integer pointAll) {
- this.pointAll = pointAll;
- }
-
- public Double getCommissionAll() {
- return commissionAll;
- }
-
- public void setCommissionAll(Double commissionAll) {
- this.commissionAll = commissionAll;
- }
-
- public Date getInDate() {
- return inDate;
- }
-
- public void setInDate(Date inDate) {
- this.inDate = inDate;
- }
-
- public String getRemark() {
- return remark;
- }
-
- public void setRemark(String remark) {
- this.remark = remark;
- }
-
- public String getPassWord() {
- return passWord;
- }
-
- public void setPassWord(String passWord) {
- this.passWord = passWord;
- }
-
-
- public Date getCreateTime() {
- return createTime;
- }
-
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
-
- public Long getLevelId() {
- return levelId;
- }
-
- public void setLevelId(Long levelId) {
- this.levelId = levelId;
- }
-
- public SysVipLevel getVipLevel() {
- return vipLevel;
- }
-
- public void setVipLevel(SysVipLevel vipLevel) {
- this.vipLevel = vipLevel;
- }
-
-
-
-
- public String getStatu() {
- return statu;
- }
-
- public void setStatu(String statu) {
- this.statu = statu;
- }
-
- public Double getBalance() {
- return balance;
- }
-
- public void setBalance(Double balance) {
- this.balance = balance;
- }
-
-
-
- public MoneyCardUse getLevelCard() {
- return levelCard;
- }
-
- public void setLevelCard(MoneyCardUse levelCard) {
- this.levelCard = levelCard;
- }
-
- public String getBeatuyId() {
- return beatuyId;
- }
-
- public void setBeatuyId(String beatuyId) {
- this.beatuyId = beatuyId;
- }
-
- public List<MyBeatician> getBeauticains() {
- return beauticains;
- }
-
- public void setBeauticains(List<MyBeatician> beauticains) {
- this.beauticains = beauticains;
- }
-
- public String getBlood() {
- return blood;
- }
-
- public void setBlood(String blood) {
- this.blood = blood;
- }
-
- public String getSfCard() {
- return sfCard;
- }
-
- public void setSfCard(String sfCard) {
- this.sfCard = sfCard;
- }
-
- public String getLink() {
- return link;
- }
-
- public void setLink(String link) {
- this.link = link;
- }
-
- public String getMarry() {
- return marry;
- }
-
- public void setMarry(String marry) {
- this.marry = marry;
- }
-
- public String getVocation() {
- return vocation;
- }
-
- public void setVocation(String vocation) {
- this.vocation = vocation;
- }
-
- public List<VipAnswer> getVipAnswers() {
- return vipAnswers;
- }
-
- public void setVipAnswers(List<VipAnswer> vipAnswers) {
- this.vipAnswers = vipAnswers;
- }
-
-
- public Integer getBirthdayType() {
- return birthdayType;
- }
-
- public void setBirthdayType(Integer birthdayType) {
- this.birthdayType = birthdayType;
- }
-
- @Override
- public String toString() {
- return "SysVipInfo [id=" + id + ", vipNo=" + vipNo + ", vipName="
- + vipName + ", phone=" + phone + ", vipType=" + vipType
- + ", shopName=" + shopName + ", vipState=" + vipState
- + ", passWord=" + passWord + ", beatuyId=" + beatuyId
- + ", sex=" + sex + ", birthday1=" + birthday1 + ", addr="
- + addr + ", constell=" + constell + ", animalSign="
- + animalSign + ", arrivalWay=" + arrivalWay + ", photo="
- + photo + ", pointAll=" + pointAll + ", commissionAll="
- + commissionAll + ", inDate=" + inDate + ", createTime="
- + createTime + ", remark=" + remark + ", staffId=" + staffId
- + ", shopId=" + shopId + ", isDelete=" + isDelete + ", email="
- + email + ", blood=" + blood + ", sfCard=" + sfCard + ", link="
- + link + ", marry=" + marry + ", vocation=" + vocation
- + ", levelId=" + levelId + ", uuid=" + uuid + ", balance="
- + balance + ", levelCard=" + levelCard + ", vipLevel="
- + vipLevel + ", staffName=" + staffName + ", inDateVo="
- + inDateVo + ", birthday1Vo=" + birthday1Vo + ", ranking="
- + ranking + ", startTime=" + startTime + ", endTime=" + endTime
- + ", rankType=" + rankType + ", year=" + year + ", vipNum="
- + vipNum + ", timeStart=" + timeStart + ", timeEnd=" + timeEnd
- + ", payTotal=" + payTotal + ", costTotal=" + costTotal
- + ", costNum=" + costNum + ", openId=" + openId + ", statu="
- + statu + ", beauticains=" + beauticains + ", vipAnswers="
- + vipAnswers + ", cards=" + cards + ", qdSign=" + qdSign + "]";
- }
--
Gitblit v1.9.1