9 天以前 67c5d3ea86cfaad45c0150b96949dbcb6729b4d0
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
package cn.iocoder.yudao.module.mes.controller.admin.wm.materialstock.vo;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 库存台账 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MesWmMaterialStockRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "物料分类编号", example = "1")
    private Long itemTypeId;
 
    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long itemId;
 
    @Schema(description = "物料编码", example = "M001")
    @ExcelProperty("物料编码")
    private String itemCode;
 
    @Schema(description = "物料名称", example = "钢板")
    @ExcelProperty("物料名称")
    private String itemName;
 
    @Schema(description = "规格型号", example = "10mm*100mm")
    @ExcelProperty("规格型号")
    private String specification;
 
    @Schema(description = "计量单位名称", example = "千克")
    @ExcelProperty("计量单位")
    private String unitMeasureName;
 
    @Schema(description = "批次编号", example = "1")
    private Long batchId;
 
    @Schema(description = "批次号", example = "B20260101")
    @ExcelProperty("批次号")
    private String batchCode;
 
    @Schema(description = "仓库编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long warehouseId;
 
    @Schema(description = "仓库编码", example = "WH001")
    private String warehouseCode;
 
    @Schema(description = "仓库名称", example = "原料仓")
    @ExcelProperty("仓库")
    private String warehouseName;
 
    @Schema(description = "库区编号", example = "1")
    private Long locationId;
 
    @Schema(description = "库区名称", example = "A 区")
    @ExcelProperty("库区")
    private String locationName;
 
    @Schema(description = "库位编号", example = "1")
    private Long areaId;
 
    @Schema(description = "库位名称", example = "A-01")
    @ExcelProperty("库位")
    private String areaName;
 
    @Schema(description = "供应商编号", example = "1")
    private Long vendorId;
 
    @Schema(description = "供应商名称", example = "某供应商")
    @ExcelProperty("供应商")
    private String vendorName;
 
    @Schema(description = "在库数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.0000")
    @ExcelProperty("在库数量")
    private BigDecimal quantity;
 
    @Schema(description = "冻结数量", example = "10.0000")
    @ExcelProperty("冻结数量")
    private BigDecimal frozenQuantity;
 
    @Schema(description = "占用量(已分配待出库)", example = "20.0000")
    @ExcelProperty("占用量")
    private BigDecimal reservedQuantity;
 
    @Schema(description = "在途量(调拨在途)", example = "5.0000")
    @ExcelProperty("在途量")
    private BigDecimal inTransitQuantity;
 
    @Schema(description = "可用量(在库数量 - 冻结数量 - 占用量)", example = "70.0000")
    @ExcelProperty("可用量")
    private BigDecimal availableQuantity;
 
    @Schema(description = "入库时间")
    @ExcelProperty("入库时间")
    private LocalDateTime receiptTime;
 
    @Schema(description = "是否冻结", requiredMode = Schema.RequiredMode.REQUIRED, example = "false")
    @ExcelProperty("是否冻结")
    private Boolean frozen;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}