From 8a7af3c27dca7eb50898995d5f64547beccc9e24 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 02 七月 2026 10:25:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_business' into dev_business

---
 yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/dataobject/item/MdmItemDO.java |  216 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 216 insertions(+), 0 deletions(-)

diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/dataobject/item/MdmItemDO.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/dataobject/item/MdmItemDO.java
new file mode 100644
index 0000000..85753d5
--- /dev/null
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/dataobject/item/MdmItemDO.java
@@ -0,0 +1,216 @@
+package cn.iocoder.yudao.module.mdm.dal.dataobject.item;
+
+import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
+import cn.iocoder.yudao.module.mdm.dal.dataobject.category.MdmItemCategoryDO;
+import cn.iocoder.yudao.module.mdm.dal.dataobject.unit.MdmUnitMeasureDO;
+import cn.iocoder.yudao.module.mdm.dal.dataobject.brand.MdmBrandDO;
+import cn.iocoder.yudao.module.mdm.enums.MdmItemTypeEnum;
+import com.baomidou.mybatisplus.annotation.KeySequence;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.*;
+
+import java.math.BigDecimal;
+
+/**
+ * MDM 鐗╂枡涓绘暟鎹� DO
+ *
+ * 缁熶竴鐗╂枡鏁版嵁锛孍RP/MES/WMS 鍏辩敤
+ *
+ * @author 鑺嬮亾婧愮爜
+ */
+@TableName("mdm_item")
+@KeySequence("mdm_item_seq")
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ToString(callSuper = true)
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class MdmItemDO extends BaseDO {
+
+    /**
+     * 鐗╂枡ID锛堝叏灞�鍞竴锛�
+     */
+    @TableId
+    private Long id;
+
+    /**
+     * 鐗╂枡缂栫爜锛堝叏灞�鍞竴锛�
+     */
+    private String code;
+
+    /**
+     * 鐗╂枡鍚嶇О
+     */
+    private String name;
+
+    /**
+     * 鐗╂枡鏉$爜
+     */
+    private String barCode;
+
+    /**
+     * 瑙勬牸鍨嬪彿
+     */
+    private String specification;
+
+    /**
+     * 鐗╂枡鍒嗙被缂栧彿
+     *
+     * 鍏宠仈 {@link MdmItemCategoryDO#getId()}
+     */
+    private Long categoryId;
+
+    /**
+     * 涓昏閲忓崟浣嶇紪鍙�
+     *
+     * 鍏宠仈 {@link MdmUnitMeasureDO#getId()}
+     */
+    private Long unitMeasureId;
+
+    /**
+     * 鍝佺墝缂栧彿
+     *
+     * 鍏宠仈 {@link MdmBrandDO#getId()}
+     */
+    private Long brandId;
+
+    /**
+     * 鐗╂枡绫诲瀷
+     *
+     * 鏋氫妇 {@link MdmItemTypeEnum}
+     * 1: 鐗╂枡
+     * 2: 浜у搧
+     * 3: 鍗婃垚鍝�
+     */
+    private Integer itemType;
+
+    /**
+     * 鐘舵��
+     *
+     * 鏋氫妇 {@link cn.iocoder.yudao.framework.common.enums.CommonStatusEnum}
+     */
+    private Integer status;
+
+    /**
+     * 閲囪喘浠�
+     */
+    private BigDecimal purchasePrice;
+
+    /**
+     * 閿�鍞环
+     */
+    private BigDecimal salesPrice;
+
+    /**
+     * 鎴愭湰浠�
+     */
+    private BigDecimal costPrice;
+
+    /**
+     * 鏈�浣庝环
+     */
+    private BigDecimal minPrice;
+
+    /**
+     * 瀹夊叏搴撳瓨
+     */
+    private BigDecimal safetyStock;
+
+    /**
+     * 鏈�浣庡簱瀛橀噺
+     */
+    private BigDecimal minStock;
+
+    /**
+     * 鏈�楂樺簱瀛橀噺
+     */
+    private BigDecimal maxStock;
+
+    /**
+     * 鏈�灏忚璐ч噺
+     */
+    private BigDecimal minOrderQty;
+
+    /**
+     * 閲囪喘鎻愬墠鏈燂紙澶╋級
+     */
+    private Integer leadTime;
+
+    /**
+     * 鏄惁鎵规绠$悊
+     */
+    private Boolean isBatchManaged;
+
+    /**
+     * 鏄惁搴忓垪鍙风鐞�
+     */
+    private Boolean isSerialManaged;
+
+    /**
+     * 鏉$爜瑙勫垯ID
+     */
+    private Long barcodeRuleId;
+
+    /**
+     * 淇濊川鏈熷ぉ鏁�
+     */
+    private Integer expiryDay;
+
+    /**
+     * 鏄惁楂樺�肩墿鏂�
+     */
+    private Boolean highValue;
+
+    /**
+     * 杈呭崟浣�1缂栧彿
+     *
+     * 鍏宠仈 {@link MdmUnitMeasureDO#getId()}
+     */
+    private Long unitMeasureId2;
+
+    /**
+     * 杈呭崟浣�1鎹㈢畻姣旂巼
+     *
+     * 涓诲崟浣嶄笌杈呭崟浣�1鐨勬崲绠楁瘮鐜囷紝渚嬪 1绠�=12涓紝鍒欐瘮鐜囦负12
+     */
+    private BigDecimal unitMeasureRate1;
+
+    /**
+     * 杈呭崟浣�2缂栧彿
+     *
+     * 鍏宠仈 {@link MdmUnitMeasureDO#getId()}
+     */
+    private Long unitMeasureId3;
+
+    /**
+     * 杈呭崟浣�2鎹㈢畻姣旂巼
+     *
+     * 涓诲崟浣嶄笌杈呭崟浣�2鐨勬崲绠楁瘮鐜�
+     */
+    private BigDecimal unitMeasureRate2;
+
+    /**
+     * 榛樿浠撳簱缂栧彿
+     *
+     * 鍏宠仈 {@link cn.iocoder.yudao.module.mdm.dal.dataobject.warehouse.MdmWarehouseDO#getId()}
+     */
+    private Long warehouseId;
+
+    /**
+     * 榛樿浠撳簱缂栫爜
+     */
+    private String warehouseCode;
+
+    /**
+     * 閲嶉噺(kg)
+     */
+    private BigDecimal weight;
+
+    /**
+     * 澶囨敞
+     */
+    private String remark;
+
+}
\ No newline at end of file

--
Gitblit v1.9.3