package com.zanxiang.game.module.manage.pojo.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author : lingfeng
 * @time : 2022-11-07
 * @description : 订单展示
 */
@Data
@NoArgsConstructor
public class OrderListVO {

    private List<OrderVO> data;

    private Map<String, BigDecimal> totalData;

    private Long total;

    private Long size;

    private Long current;

    private Long pages;

    public OrderListVO(Long size) {
        this.data = Collections.emptyList();
        this.totalData = Collections.emptyMap();
        this.total = 0L;
        this.size = size;
        this.current = 1L;
        this.pages = 0L;
    }
}
