| | |
| | | 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
|
| | |
| | | @Transient
|
| | | @Expose
|
| | | private String rankIcon;// 等级图标
|
| | | |
| | |
|
| | | // 性别: 1-女 2-男
|
| | | @Transient
|
| | | @Expose
|
| | | private Integer sex;
|
| | | |
| | | // 微信号
|
| | | @Transient
|
| | | @Expose
|
| | | private String weiXin;
|
| | | |
| | | // 微信提示语
|
| | | @Transient
|
| | | @Expose
|
| | | private String weiXinTip;
|
| | |
|
| | | @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;
|
| | |
| | | this.lastLoginIp = lastLoginIp;
|
| | | }
|
| | |
|
| | | public System getSystem() {
|
| | | public BusinessSystem getSystem() {
|
| | | return system;
|
| | | }
|
| | |
|
| | | public void setSystem(System system) {
|
| | | public void setSystem(BusinessSystem system) {
|
| | | this.system = system;
|
| | | }
|
| | |
|
| | |
| | | public void setPayPassword(String payPassword) {
|
| | | this.payPassword = payPassword;
|
| | | }
|
| | | |
| | | public Integer getSex() {
|
| | | return sex;
|
| | | }
|
| | |
|
| | | public void setSex(Integer sex) {
|
| | | this.sex = sex;
|
| | | }
|
| | |
|
| | | public String getWeiXin() {
|
| | | return weiXin;
|
| | | }
|
| | |
|
| | | public void setWeiXin(String weiXin) {
|
| | | this.weiXin = weiXin;
|
| | | }
|
| | |
|
| | | public String getWeiXinTip() {
|
| | | return weiXinTip;
|
| | | }
|
| | |
|
| | | public void setWeiXinTip(String weiXinTip) {
|
| | | this.weiXinTip = weiXinTip;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int hashCode() {
|