From b854c5cde81a88e8dea0b5df03219a2fcfef6ac6 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 02 八月 2025 17:18:46 +0800
Subject: [PATCH] 自动创建节点

---
 blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/entity/NcNode.java |   53 +++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/entity/NcNode.java b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/entity/NcNode.java
index fbc670b..3363924 100644
--- a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/entity/NcNode.java
+++ b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/entity/NcNode.java
@@ -9,6 +9,46 @@
 @Getter
 @TableName("mdm_nc_node")
 public class NcNode extends BizEntity {
+	/**
+	 * 鑺傜偣绫诲瀷锛� 绋嬪簭鐘舵�� 10
+	 */
+	public static final String TYPE_PROGRAM_STATUS = "10";
+	/*
+	浜у搧鍨嬪彿
+	 */
+	public static final String TYPE_PRODUCT_MODEL = "15";
+	/**
+	 * 鑺傜偣绫诲瀷锛� 闆剁粍浠跺彿/鍥惧彿 10
+	 */
+	public static final String TYPE_DRAWING_NO = "20";
+	/**
+	 * 宸ヨ壓鐗堟
+	 *
+	 */
+	public static final String TYPE_CRAFT_EDITION = "30";
+	/**
+	 * 宸ュ簭鍙�
+	 *
+	 */
+	public static final String TYPE_PROCESS_NO = "40";
+	/**
+	 * 宸ュ簭鐗堟
+	 */
+	public static final String TYPE_PROCESS_EDITION = "45";
+	/**
+	 * 鍔犲伐鏈哄簥
+	 */
+	public static final String TYPE_MACHINE_CODE = "50";
+	/**
+	 * 绋嬪簭鍖呭悕
+	 */
+	public static final String TYPE_PROGRAM_PACKAGE = "60";
+
+	/**
+	 * 绋嬪簭鏂囦欢
+	 */
+	public static final String TYPE_PROGRAM_FILE = "70";
+
 	private String name;
 	private Long parentId;
 
@@ -31,12 +71,12 @@
 	/**
 	 * 宸ュ簭鐗堟
 	 */
-	//private String processEdition;
+	private String processEdition;
 
 	/**
 	 * 宸ヨ壓鐗堟
 	 */
-	//private String craftEdition;
+	private String craftEdition;
 	/**
 	 * 闆剁粍浠跺彿/鍥惧彿
 	 */
@@ -44,7 +84,7 @@
 	/**
 	 * 鍥惧彿鐗堟
 	 */
-	//private String partNoEdition;
+	private String drawingNoEdition;
 
 	/**
 	 * 鏄惁鍥哄寲
@@ -65,6 +105,11 @@
 
 	private String description;
 	private String remark;
+	//0808鏂板
+	/**
+	 * 绋嬪簭鏂囦欢鑺傜偣鐨勬暟鎹�
+	 */
+	private String processNo;
 
-
+	private String productModel;
 }

--
Gitblit v1.9.3