yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
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
@@ -123,22 +121,37 @@
   @Column(name = "state_desc")
   private String stateDesc;
   @Column(name = "platform")
   private String platform;//来源平台
   public String getPlatform() {
      return platform;
   }
   public void setPlatform(String platform) {
      this.platform = platform;
   }
   @Transient
   @Expose
   private String rankIcon;// 等级图标
   // 性别: 1-女  2-男
   // 性别: 1-女 2-男
   @Transient
   @Expose
   private Integer sex;
   // 微信号
   @Transient
   @Expose
   private String weiXin;
   
   // 二维码
   @Transient
   @Expose
   private String erCode;
   // 微信提示语
   @Transient
   @Expose
@@ -149,6 +162,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;
@@ -190,6 +216,7 @@
      this.rankIcon = rankIcon;
   }
   // TODO
   public UserInfo() {
      openid = "";
      wxOpenId = "";
@@ -278,14 +305,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() {
@@ -399,7 +418,7 @@
   public void setPayPassword(String payPassword) {
      this.payPassword = payPassword;
   }
   public Integer getSex() {
      return sex;
   }
@@ -424,6 +443,22 @@
      this.weiXinTip = weiXinTip;
   }
   public Integer getType() {
      return type;
   }
   public void setType(Integer type) {
      this.type = type;
   }
   public String getErCode() {
      return erCode;
   }
   public void setErCode(String erCode) {
      this.erCode = erCode;
   }
   @Override
   public int hashCode() {
      final int prime = 31;