package shop.alien.store.vo;

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

/**
 * 预订订单列表接口返回：分页列表 + 全部/待使用/已完成/已退款数量
 *
 * @author system
 */
@Data
@ApiModel(value = "ReservationOrderListResultVo", description = "预订订单列表返回（分页+各状态数量）")
public class ReservationOrderListResultVo {

    @ApiModelProperty(value = "分页列表")
    private IPage<ReservationOrderListVo> list;

    @ApiModelProperty(value = "全部数量")
    private long countAll;

    @ApiModelProperty(value = "待使用数量")
    private long countToUse;

    @ApiModelProperty(value = "已完成数量")
    private long countCompleted;

    @ApiModelProperty(value = "已退款数量")
    private long countRefunded;
}
