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 DailySalesAmountVo {

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

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

    @Data
    @Schema(description = "分类销售额数据")
    public static class SalesCategoryData {
        @Schema(description = "一级分类名称")
        private String categoryName;

        @Schema(description = "销售额列表（元）")
        private List<BigDecimal> amounts;
    }
}