package com.sckw.report.model.vo;

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

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

@Data
@Schema(description = "近7日出货量响应")
public class DailyShipmentAmountVo {

    @Schema(description = "日期列表")
    private List<String> dates;

    @Schema(description = "分类数据列表")
    private List<ShipmentCategoryData> categoryDataList;

    @Data
    @Schema(description = "分类出货量数据")
    public static class ShipmentCategoryData {
        @Schema(description = "一级分类名称")
        private String categoryName;

        @Schema(description = "出货量列表（吨）")
        private List<BigDecimal> amounts;
    }
}