package cn.autoform.bean.system;
|
|
import java.util.Date;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import springfox.documentation.annotations.ApiIgnore;
|
|
|
@ApiIgnore
|
@ApiModel(value="用户信息")
|
@Data
|
public class UserInfo {
|
|
public static final String FIRST_KEY = "first";
|
public static final String SECOND_KEY = "second";
|
public static final String THIRD_KEY = "third";
|
|
private String userCode;
|
|
|
//BPS登陆key
|
@ApiModelProperty("BPS登陆key")
|
private String workFlowCode;
|
@ApiModelProperty("租户id")
|
private Integer tenantId;
|
@ApiModelProperty("公司id")
|
private Integer companyId;
|
@ApiModelProperty("业务系统id")
|
private Integer serviceId;
|
|
/**
|
* 用户信息
|
*/
|
@ApiModelProperty("用户id")
|
private String uid;
|
@ApiModelProperty("用户名称")
|
private String userName;
|
private String nickName;
|
@ApiModelProperty("邮件")
|
private String email;
|
@ApiModelProperty("手机号码")
|
private String phone;
|
@ApiModelProperty("注册时间")
|
private Date registerTime;
|
@ApiModelProperty("修改时间")
|
private Date updateTime;
|
private String deviceSn;
|
private String deviceType;
|
private String pkgName;
|
private String macAddress;
|
private String ipAddress;
|
private String emailVerified;
|
private String idNumber;
|
private String iconURL;
|
@ApiModelProperty("真是姓名")
|
private String realName;
|
private String province;
|
private String city;
|
private String county;
|
private String location;
|
private String sex;
|
@ApiModelProperty("生日")
|
private String birthday;
|
private String bloodType;
|
|
private String qq;
|
|
private String weixin;
|
private String sinaweibo;
|
private String taobao;
|
|
private String alipay;
|
private String university;
|
private String major;
|
private String personalInfo;
|
private String fingerPrint;
|
private String fingerURL;
|
private String interests;
|
private String changeTimes;
|
private Date loginTime;
|
private String passwordStrength;
|
|
private LogInInfo loginInfo;
|
|
private String bpsUserName;
|
|
private Boolean isSuperManager;
|
|
/**
|
* 新加公司code
|
*/
|
private String hotInfoCompanyId;
|
|
@Data
|
public static class LogInInfo{
|
|
private String token;
|
|
private String userId;
|
|
private String openId;
|
|
private String livemode;
|
|
public LogInInfo(){}
|
|
public LogInInfo(String token, String openId){
|
this.token = token;
|
this.openId =openId;
|
}
|
}
|
|
}
|