From 1ab2b329a40decba8ff7eefbeb158ff259aceb6d Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期二, 14 七月 2026 15:23:34 +0800
Subject: [PATCH] 追溯+分类接口

---
 yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/dto/MdmItemUpdateReqDTO.java |   66 +++++++++++++++++++++++++++++++++
 1 files changed, 66 insertions(+), 0 deletions(-)

diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/dto/MdmItemUpdateReqDTO.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/dto/MdmItemUpdateReqDTO.java
new file mode 100644
index 0000000..1f1fdf1
--- /dev/null
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/dto/MdmItemUpdateReqDTO.java
@@ -0,0 +1,66 @@
+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 鐗╂枡鏇存柊 Request DTO")
+@Data
+public class MdmItemUpdateReqDTO {
+
+    @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 = "鐗╂枡绫诲瀷", example = "1")
+    private Integer itemType;
+
+    @Schema(description = "鐘舵��", 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 = "閲嶉噺(kg)", example = "0.5")
+    private BigDecimal weight;
+
+    @Schema(description = "澶囨敞", example = "澶囨敞淇℃伅")
+    private String remark;
+
+}

--
Gitblit v1.9.3