package com.ruoyi.controller.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.vo.UserInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * app用户表
 *
 * @author 李文龙
 * @date 2022/01/13 14:17
 */
@Data
public class UserResultInfo implements Serializable {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户类型 1 用户 2 代理商 3 企业")
    private Integer userType;

    @ApiModelProperty(value = "用户状态 1 正常 2 禁用")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除标识 1 正常 2 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty(value = "用户名")
    private String nickname;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "登录密码")
    private String loginPwd;

    @ApiModelProperty(value = "支付密码")
    private String payPwd;

    @ApiModelProperty(value = "注销时间")
    private Date cancellationTime;

    @ApiModelProperty(value = "手机id")
    private String clientId;

    @ApiModelProperty(value = "微信openid")
    private String wxOpenid;

    @ApiModelProperty(value = "apple_openid")
    private String appleOpenid;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "是否推送关闭 1 关闭 2 不关闭")
    private Integer closeMessage;

    @ApiModelProperty(value = "性别 S:未知，M:男，F:女")
    private String sex;

    @ApiModelProperty(value = "评分")
    private BigDecimal star;

    @ApiModelProperty("是否认证 1 未认证 2 已认证")
    private Integer isAuth;

    @ApiModelProperty("是否认证 1 未认证高端 2 已认证")
    private Integer ifHighend;

    @ApiModelProperty(value = "等级名称")
    private String levelName;

    @ApiModelProperty(value = "等级图标")
    private String icon;

    @ApiModelProperty(value = "镶边类型 1 不镶边 2 镶银边 3 镶金边")
    private String edgePipingType;


    @ApiModelProperty(value = "在线状态;1:在线,2离线")
    private Integer onlineStatus;

    @ApiModelProperty(value = "在线时长;分钟")
    private Integer onlineDuration;

    @ApiModelProperty(value = "背景图")
    private String backgroundImage;

    @ApiModelProperty(value = "用户信息")
    private UserInfo userInfo;

    @ApiModelProperty(value = "区域")
    private String area;

    @ApiModelProperty(value = "入行时间")
    @JsonFormat(pattern = "yyyy")
    private Date enterDate;

    @ApiModelProperty(value = "邀请码")
    private String invitationCode;

    @ApiModelProperty(value = "充值抵用金")
    private BigDecimal giveBalance;

    @ApiModelProperty(value = "积分")
    private BigDecimal integral;
}
