yangys
2025-08-02 de19116f884445318620e8436c5b1fbf829c00b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package org.springblade.mdm.program.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.springblade.core.mp.base.BizEntity;
 
@Setter
@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;
 
    /**
     * 上级父id集合
     */
    private String parentIds;
    /**
     * 设备编号
     */
    private String machineCode;
 
 
 
    /**
     * 工序,如“精铣”
     */
    private String processName;
 
    /**
     * 工序版次
     */
    private String processEdition;
 
    /**
     * 工艺版次
     */
    private String craftEdition;
    /**
     * 零组件号/图号
     */
    private String drawingNo;
    /**
     * 图号版次
     */
    private String drawingNoEdition;
 
    /**
     * 是否固化
     */
    private Integer isCured;
    /**
     * 过期日期
     */
    //private LocalDate expireDate;
    /**
     * 是否锁定
     */
    private Integer isLocked = 0;
    /**
     * 节点类型:字典
      */
    private String nodeType;
 
    private String description;
    private String remark;
    //0808新增
    /**
     * 程序文件节点的数据
     */
    private String processNo;
    /**
     * 产品型号
     */
    private String productModel;
 
    /**
     * 流程程序文件id,只有程序文件(70)类型的节点有此值
     */
    private Long flowProgramFileId;
 
    /**
     * 审批时的流程实例id,只有程序包节点有这个字段值
     */
    private String processInstanceId;
}