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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package cn.iocoder.yudao.module.mdm.api.item.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "RPC 服务 - MDM 物料 Response DTO")
@Data
public class MdmItemRespDTO {
 
    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;
 
    @Schema(description = "物料编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "ITEM001")
    private String code;
 
    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "螺丝")
    private String name;
 
    @Schema(description = "物料条码", example = "12345678")
    private String barCode;
 
    @Schema(description = "规格型号", example = "M8*20")
    private String specification;
 
    @Schema(description = "物料分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long categoryId;
 
    @Schema(description = "计量单位编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long unitMeasureId;
 
    @Schema(description = "品牌编号", example = "1")
    private Long brandId;
 
    @Schema(description = "物料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer itemType;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;
 
    @Schema(description = "采购价格", example = "10.00")
    private BigDecimal purchasePrice;
 
    @Schema(description = "销售价格", example = "15.00")
    private BigDecimal salesPrice;
 
    @Schema(description = "成本价格", example = "8.00")
    private BigDecimal costPrice;
 
    @Schema(description = "安全库存", example = "100")
    private BigDecimal safetyStock;
 
    @Schema(description = "保质期天数", example = "365")
    private Integer expiryDay;
 
    @Schema(description = "是否批次管理", example = "false")
    private Boolean isBatchManaged;
 
    @Schema(description = "是否高值物料", example = "false")
    private Boolean highValue;
 
    @Schema(description = "重量", example = "0.5")
    private BigDecimal weight;
 
    @Schema(description = "备注", example = "备注信息")
    private String remark;
 
}