package com.xiaoniu.system.platformusers.user.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @Author haoxuyang
 * @Date 2024/10/19 18:02
 */
@Data
@Schema(description = "用户详情参数VO")
public class ClientUserDetailsVO {

    @Schema(description = "用户ID")
    private Long id;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "用户手机号")
    private String phoneNumber;

    @Schema(description = "头像url")
    private String avatarUrl;

    @Schema(description = "用户类型")
    private String userType;

    @Schema(description = "会员id")
    private String memberId;

    @Schema(description = "用户标签")
    private String userLabel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "状态（1-正常 2-注销 3-拉黑）")
    private Integer status;

    @Schema(description = "剩余积分")
    private Integer remainingPoints;

    @Schema(description = "消费金额")
    private BigDecimal consumptionAmount;

}
