liyong
4 天以前 35b42db401542f3a85b2670873363ad4025da3d4
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.workorder.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - MES 工单物料需求 Response VO")
@Data
public class MesProWorkOrderItemRespVO {
 
    @Schema(description = "物料编号", example = "100")
    private Long itemId;
 
    @Schema(description = "物料编码", example = "M-001")
    private String itemCode;
 
    @Schema(description = "物料名称", example = "电阻 10K")
    private String itemName;
 
    @Schema(description = "规格型号", example = "0603")
    private String itemSpecification;
 
    @Schema(description = "单位名称", example = "个")
    private String unitMeasureName;
 
    @Schema(description = "需求数量", example = "1000.00")
    private BigDecimal quantity;
 
    @Schema(description = "可用库存", example = "500.00")
    private BigDecimal stockQuantity;
 
    @Schema(description = "在途采购数(来源为本工单的采购订单数量汇总)", example = "200.00")
    private BigDecimal purchaseOrderQuantity;
 
    @Schema(description = "库存是否充足(可用库存 + 在途采购数 >= 需求数量)", example = "true")
    private Boolean stockSufficient;
 
    @Schema(description = "物料/产品标识", example = "ITEM")
    private String itemOrProduct;
 
}