package shop.alien.entity.store.vo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单列表及统计信息VO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@ApiModel(value = "LifeUserOrderListWithStatisticsVO对象", description = "订单列表及统计信息VO")
public class LifeUserOrderListWithStatisticsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单列表")
    private IPage<LifeUserOrderVo> orderList;

    @ApiModelProperty(value = "待支付订单数量")
    private Long waitPayCount;

    @ApiModelProperty(value = "已支付/待使用订单数量")
    private Long waitUseCount;

    @ApiModelProperty(value = "已核销订单数量")
    private Long usedCount;

    @ApiModelProperty(value = "已过期订单数量")
    private Long expireCount;

    @ApiModelProperty(value = "已取消订单数量")
    private Long cancelCount;

    @ApiModelProperty(value = "已退款订单数量")
    private Long refundCount;

    @ApiModelProperty(value = "退款失败订单数量")
    private Long refundFailedCount;

    @ApiModelProperty(value = "已完成订单数量")
    private Long completeCount;
}

