| | |
| | | package com.ks.daylucky.pojo.DO; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | import org.springframework.data.annotation.Transient; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Date; |
| | | |
| | | public class UserInfo { |
| | | //正常用户 |
| | | public final static int TYPE_NORMAL = 1; |
| | | //虚拟用户 |
| | | public final static int TYPE_VIRTUAL = 2; |
| | | //尚未登录 |
| | | public final static int STATE_NO_LOGIN = 0; |
| | | //已经登录 |
| | | public final static int STATE_LOGINED = 1; |
| | | |
| | | |
| | | @Expose |
| | | private Long id; |
| | | @Expose |
| | |
| | | |
| | | private Date updateTime; |
| | | |
| | | private Integer type; |
| | | |
| | | private Integer state; |
| | | |
| | | private String stateDesc; |
| | | |
| | | @Transient |
| | | private UserInfoExtra userInfoExtra; |
| | | |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public String getStateDesc() { |
| | | return stateDesc; |
| | | } |
| | | |
| | | public void setStateDesc(String stateDesc) { |
| | | this.stateDesc = stateDesc; |
| | | } |
| | | |
| | | public String getAlipayNickName() { |
| | | return alipayNickName; |
| | | } |