From 19ed9b41cf75f132fe081ece5a20966611ccd123 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 15 七月 2026 15:50:13 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_business' into dev_business
---
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/item/vo/MdmItemSaveReqVO.java | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 116 insertions(+), 0 deletions(-)
diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/item/vo/MdmItemSaveReqVO.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/item/vo/MdmItemSaveReqVO.java
new file mode 100644
index 0000000..4a41bfa
--- /dev/null
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/item/vo/MdmItemSaveReqVO.java
@@ -0,0 +1,116 @@
+package cn.iocoder.yudao.module.mdm.controller.admin.item.vo;
+
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.Data;
+
+import java.math.BigDecimal;
+
+@Schema(description = "绠$悊鍚庡彴 - MDM 鐗╂枡鏂板/淇敼 Request VO")
+@Data
+public class MdmItemSaveReqVO {
+
+ @Schema(description = "鐗╂枡缂栧彿", 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 = "鐗╂枡鍒嗙被缂栧彿锛堝叧鑱� MES 鐗╂枡鍒嗙被 mes_md_item_type锛�", example = "1")
+ private Long categoryId;
+
+ @Schema(description = "璁¢噺鍗曚綅缂栧彿", example = "1")
+ private Long unitMeasureId;
+
+ @Schema(description = "杈呭崟浣�1缂栧彿", example = "2")
+ private Long unitMeasureId2;
+
+ @Schema(description = "杈呭崟浣�1鎹㈢畻姣旂巼", example = "12")
+ private BigDecimal unitMeasureRate1;
+
+ @Schema(description = "杈呭崟浣�2缂栧彿", example = "3")
+ private Long unitMeasureId3;
+
+ @Schema(description = "杈呭崟浣�2鎹㈢畻姣旂巼", example = "100")
+ private BigDecimal unitMeasureRate2;
+
+ @Schema(description = "榛樿浠撳簱缂栧彿", example = "1")
+ private Long warehouseId;
+
+ @Schema(description = "榛樿浠撳簱缂栫爜", example = "WH001")
+ private String warehouseCode;
+
+ @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 = "50")
+ private BigDecimal minStock;
+
+ @Schema(description = "鏈�楂樺簱瀛�", example = "500")
+ private BigDecimal maxStock;
+
+ @Schema(description = "淇濊川鏈熷ぉ鏁�", example = "365")
+ private Integer expiryDay;
+
+ @Schema(description = "鏄惁鎵规绠$悊", example = "false")
+ private Boolean isBatchManaged;
+
+ @Schema(description = "鏄惁楂樺�肩墿鏂�", example = "false")
+ private Boolean isHighValue;
+
+ @Schema(description = "閲嶉噺", example = "0.5")
+ private BigDecimal weight;
+
+ @Schema(description = "澶囨敞", example = "澶囨敞淇℃伅")
+ private String remark;
+
+ @Schema(description = "鏄惁鍚屾鍒� MES", example = "false")
+ private Boolean syncMes;
+
+ // ========== 鎵规灞炴�ч厤缃紙鍚屾鏃朵竴璧蜂繚瀛橈級 ==========
+
+ @Schema(description = "鐢熶骇鏃ユ湡蹇呭~", example = "true")
+ private Boolean produceDateFlag;
+
+ @Schema(description = "鏈夋晥鏈熷繀濉�", example = "true")
+ private Boolean expireDateFlag;
+
+ @Schema(description = "鍏ュ簱鏃ユ湡蹇呭~", example = "false")
+ private Boolean receiptDateFlag;
+
+ @Schema(description = "渚涘簲鍟嗗繀濉�", example = "true")
+ private Boolean vendorFlag;
+
+ @Schema(description = "閲囪喘璁㈠崟鍙峰繀濉�", example = "false")
+ private Boolean purchaseOrderCodeFlag;
+
+ @Schema(description = "鐢熶骇鎵瑰彿蹇呭~", example = "true")
+ private Boolean lotNumberFlag;
+
+ @Schema(description = "璐ㄩ噺鐘舵�佸繀濉�", example = "false")
+ private Boolean qualityStatusFlag;
+
+}
\ No newline at end of file
--
Gitblit v1.9.3