| | |
| | | import javax.persistence.Transient;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | | import com.yeshi.fanli.entity.system.System;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | |
|
| | | /**
|
| | | * 用户信息
|
| | |
| | | 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)
|
| | |
| | | @org.yeshi.utils.mybatis.Column(name = "sid")
|
| | | @ManyToOne
|
| | | @JoinColumn(name = "sid")
|
| | | private System system;
|
| | | private BusinessSystem system;
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "rank")
|
| | | @Expose
|
| | | private Integer rank;// 0 普通 1 铜 2银 3 金
|
| | | private Integer rank;// 0 普通 1 铜 2银 3 金
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "phone")
|
| | | @Column(name = "phone", length = 16)
|
| | |
| | |
|
| | | @Transient
|
| | | @Expose
|
| | | private String rankNamePicture;// 等级名称图片 |
| | | 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;
|
| | |
| | | tbPic = "";
|
| | | portrait = "";
|
| | | myHongBao = BigDecimal.valueOf(0);
|
| | | state=0;
|
| | | state = 0;
|
| | | }
|
| | |
|
| | | public UserInfo(long id) {
|
| | |
| | | this.lastLoginIp = lastLoginIp;
|
| | | }
|
| | |
|
| | | public System getSystem() {
|
| | | public BusinessSystem getSystem() {
|
| | | return system;
|
| | | }
|
| | |
|
| | | public void setSystem(System system) {
|
| | | public void setSystem(BusinessSystem system) {
|
| | | this.system = system;
|
| | | }
|
| | |
|