| | |
| | | package com.yeshi.fanli.base.entity.user;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | import javax.persistence.*;
|
| | | import java.math.BigDecimal;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.JoinColumn;
|
| | | import javax.persistence.ManyToOne;
|
| | | import javax.persistence.Table;
|
| | | import javax.persistence.Transient;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | /**
|
| | | * 用户信息
|
| | |
| | | public static int STATE_NORMAL = 0;// 正常状态
|
| | | public static int STATE_DELETE = 1;// 删除状态
|
| | | public static int STATE_FORBIDDEN = 2;// 封禁状态
|
| | | public static int STATE_DELETE_OUT_OF_DATE = 4;// 用户长期不活跃被删除
|
| | |
|
| | | @Id
|
| | | // @GeneratedValue(strategy = GenerationType.SEQUENCE)
|
| | |
| | | @Transient
|
| | | @Expose
|
| | | private String rankNamePicture;// 等级名称图片
|
| | | @Transient
|
| | | private String taoBaoUid;// 淘宝的用户ID
|
| | |
|
| | | public String getTaoBaoUid() {
|
| | | return taoBaoUid;
|
| | | }
|
| | |
|
| | | public void setTaoBaoUid(String taoBaoUid) {
|
| | | this.taoBaoUid = taoBaoUid;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|