11 changed files with 289 additions and 148 deletions
@ -1,25 +0,0 @@ |
|||
package com.bnyer.common.core.constant; |
|||
|
|||
/** |
|||
* 客户端用户常量信息 |
|||
* |
|||
* @author penny |
|||
*/ |
|||
public class UserClientTypeConstants |
|||
{ |
|||
|
|||
/** 抖音用户 */ |
|||
public static final String DU = "10"; |
|||
|
|||
/** 快手用户 */ |
|||
public static final String KU = "20"; |
|||
|
|||
/** 微信用户 */ |
|||
public static final String WU = "30"; |
|||
|
|||
/** 微信艺术家 */ |
|||
public static final String WY = "40"; |
|||
|
|||
/** pc管理员 */ |
|||
public static final String PU = "50"; |
|||
} |
|||
@ -0,0 +1,87 @@ |
|||
package com.bnyer.common.core.vo; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Getter; |
|||
import lombok.Setter; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
|
|||
@Getter |
|||
@Setter |
|||
@ApiModel("统一用户响应类") |
|||
public class UserInfoVo implements Serializable { |
|||
|
|||
@ApiModelProperty(value="主键id") |
|||
private Long id; |
|||
|
|||
@ApiModelProperty(value="第三方平台id") |
|||
private String openId; |
|||
|
|||
@ApiModelProperty(value="昵称") |
|||
private String userName; |
|||
|
|||
@ApiModelProperty(value="搜索码") |
|||
private String scanCode; |
|||
|
|||
@ApiModelProperty(value="手机号") |
|||
private String phone; |
|||
|
|||
@ApiModelProperty(value="头像img地址") |
|||
private String img; |
|||
|
|||
@ApiModelProperty(value="简介") |
|||
private String intro; |
|||
|
|||
@ApiModelProperty(value="余额") |
|||
private BigDecimal amt; |
|||
|
|||
@ApiModelProperty(value="邀请码") |
|||
private String inviteCode; |
|||
|
|||
@ApiModelProperty(value="状态(0->待审核;1->审核通过;2->审核拒绝)") |
|||
private String status; |
|||
|
|||
@ApiModelProperty(value="第三方平台账号详情地址") |
|||
private String url; |
|||
|
|||
@ApiModelProperty(value="是否为vip(0->否;1->是)") |
|||
private String isVip; |
|||
|
|||
@ApiModelProperty(value="是否活跃(0->不活跃;1->活跃 连续10天以上更新内容)") |
|||
private String isHot; |
|||
|
|||
@ApiModelProperty(value="是否显示 (0->隐藏;1->显示)") |
|||
private String isShow; |
|||
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@ApiModelProperty(value="创建时间") |
|||
private Date createTime; |
|||
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@ApiModelProperty(value="更新时间") |
|||
private Date updateTime; |
|||
|
|||
@ApiModelProperty(value="排序") |
|||
private Integer sort; |
|||
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@ApiModelProperty(value="最后登录时间") |
|||
private Long lastLoginTime; |
|||
|
|||
/** |
|||
* 登录IP地址 |
|||
*/ |
|||
private String ipaddr; |
|||
|
|||
/** |
|||
* 用户类型 抖音->10;快手->20;微信->30;微信艺术家->40 |
|||
*/ |
|||
private int userClientType; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
} |
|||
Loading…
Reference in new issue