From 784f2aa43bf07122474628cd8165e6d404fb42a3 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期四, 02 七月 2026 10:21:29 +0800
Subject: [PATCH] 产品添加辅料单位和比率

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

diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/unit/dto/MdmUnitMeasureRespDTO.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/unit/dto/MdmUnitMeasureRespDTO.java
new file mode 100644
index 0000000..a9144f6
--- /dev/null
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/unit/dto/MdmUnitMeasureRespDTO.java
@@ -0,0 +1,33 @@
+package cn.iocoder.yudao.module.mdm.api.unit.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 MdmUnitMeasureRespDTO {
+
+    @Schema(description = "鍗曚綅缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
+    private Long id;
+
+    @Schema(description = "鍗曚綅缂栫爜", requiredMode = Schema.RequiredMode.REQUIRED, example = "PCS")
+    private String code;
+
+    @Schema(description = "鍗曚綅鍚嶇О", requiredMode = Schema.RequiredMode.REQUIRED, example = "涓�")
+    private String name;
+
+    @Schema(description = "鏄惁涓诲崟浣�", example = "true")
+    private Boolean primaryFlag;
+
+    @Schema(description = "涓诲崟浣嶇紪鍙�", example = "1")
+    private Long primaryId;
+
+    @Schema(description = "涓庝富鍗曚綅鎹㈢畻姣斾緥", example = "1.0")
+    private BigDecimal changeRate;
+
+    @Schema(description = "鐘舵��", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
+    private Integer status;
+
+}
\ No newline at end of file

--
Gitblit v1.9.3