2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package cn.iocoder.yudao.module.wms.controller.admin.home.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
@Schema(description = "管理后台 - WMS 首页库存汇总统计 Response VO")
@Data
public class WmsHomeInventorySummaryRespVO {
 
    @Schema(description = "总库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000.00")
    private BigDecimal totalQuantity;
 
    @Schema(description = "商品库存占比列表")
    private List<ItemRank> goodsShareList;
 
    @Schema(description = "仓库库存分布列表")
    private List<WarehouseRank> warehouseDistributionList;
 
    @Schema(description = "管理后台 - WMS 首页商品库存排行 Response VO")
    @Data
    public static class ItemRank {
 
        @Schema(description = "商品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
        private Long id;
 
        @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "A4 复印纸")
        private String name;
 
        @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
        private BigDecimal quantity;
 
    }
 
    @Schema(description = "管理后台 - WMS 首页仓库库存排行 Response VO")
    @Data
    public static class WarehouseRank {
 
        @Schema(description = "仓库编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
        private Long id;
 
        @Schema(description = "仓库名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "上海仓")
        private String name;
 
        @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
        private BigDecimal quantity;
 
    }
 
}