package com.gxwebsoft.shop.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户卡包统计（余额/积分/优惠券/礼品卡）
 */
@Data
@Schema(name = "UserCardStats", description = "用户卡包统计")
public class UserCardStats implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户余额（字符串/BigDecimal 字符串）")
    private String balance;

    @Schema(description = "用户积分")
    private Integer points;

    @Schema(description = "可用优惠券数量（按 status=0 口径）")
    private Integer coupons;

    @Schema(description = "未使用礼品卡数量（按 status=0 口径）")
    private Integer giftCards;

    @Schema(description = "最后更新时间（yyyy-MM-dd HH:mm:ss）")
    private String lastUpdateTime;
}

