yujian
2019-12-19 626d711cb15896055c13fe344eb7fcc824589715
fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java
@@ -3,8 +3,6 @@
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Transient;
import org.yeshi.utils.mybatis.Table;
@@ -81,9 +79,9 @@
   @Expose
   private String lastLoginIp;// 最近一次登录IP
   @Column(name = "tuiguang_code")
   @Column(name = "type")
   @Expose
   private String tuiGuangCode;// 推广码
   private Integer type;// 用户类型 0-普通用户 1-虚拟用户
   @Column(name = "appid")
   @Expose
@@ -108,8 +106,6 @@
   private String payPassword;
   @Column(name = "sid")
   @ManyToOne
   @JoinColumn(name = "sid")
   private BusinessSystem system;
   @Column(name = "rank")
@@ -129,18 +125,17 @@
   @Transient
   @Expose
   private String rankIcon;// 等级图标
   // 性别: 1-女  2-男
   // 性别: 1-女 2-男
   @Transient
   @Expose
   private Integer sex;
   // 微信号
   @Transient
   @Expose
   private String weiXin;
   // 微信提示语
   @Transient
   @Expose
@@ -151,6 +146,19 @@
   private String rankNamePicture;// 等级名称图片
   @Transient
   private String taoBaoUid;// 淘宝的用户ID
   // 是否为VIP
   @Transient
   @Expose
   private boolean vip;
   public boolean isVip() {
      return vip;
   }
   public void setVip(boolean vip) {
      this.vip = vip;
   }
   public String getTaoBaoUid() {
      return taoBaoUid;
@@ -192,6 +200,7 @@
      this.rankIcon = rankIcon;
   }
   // TODO
   public UserInfo() {
      openid = "";
      wxOpenId = "";
@@ -280,14 +289,6 @@
   public void setAppId(String appId) {
      this.appId = appId;
   }
   public String getTuiGuangCode() {
      return tuiGuangCode;
   }
   public void setTuiGuangCode(String tuiGuangCode) {
      this.tuiGuangCode = tuiGuangCode;
   }
   public Long getId() {
@@ -401,7 +402,7 @@
   public void setPayPassword(String payPassword) {
      this.payPassword = payPassword;
   }
   public Integer getSex() {
      return sex;
   }
@@ -426,6 +427,14 @@
      this.weiXinTip = weiXinTip;
   }
   public Integer getType() {
      return type;
   }
   public void setType(Integer type) {
      this.type = type;
   }
   @Override
   public int hashCode() {
      final int prime = 31;