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

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 17:48
 */
@Data
@Schema(description = "平台用户列表响应参数VO")
public class ClientUserListVO {
    @Schema(description = "用户ID")
    private Long id;

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

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

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

    @Schema(description = "历史订单数量")
    private Integer hisOrderNum;

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

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

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

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

    @Schema(description = "所在位置")
    private String location;


}
