y_ys79
2024-01-05 e5840972b6b17ec03bfc1069a9cacfe0cef189c6
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
package com.qianwen.mdc.domain;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 
@TableName("dnc_processing")
public class DncProcessing implements Serializable {
    /**
     * primary key
     */
    //@Id
    //@GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(type=IdType.AUTO)
    private Integer id;
 
    /**
     * machine id
     */
    //@Column(name = "machine_id")
    private Integer machineId;
 
    /**
     * nc program file name
     */
    //@Column(name = "file_name")
    private String fileName;
 
    /**
     * program name
     */
    //@Column(name = "prog_name")
    private String progName;
 
    /**
     * component number
     */
    private String component;
 
    /**
     * process number
     */
    private String process;
 
    /**
     * version
     */
    private String version;
 
    /**
     * parse time
     */
    private Date time;
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 获取primary key
     *
     * @return id - primary key
     */
    public Integer getId() {
        return id;
    }
 
    /**
     * 设置primary key
     *
     * @param id primary key
     */
    public void setId(Integer id) {
        this.id = id;
    }
 
    /**
     * 获取machine id
     *
     * @return machine_id - machine id
     */
    public Integer getMachineId() {
        return machineId;
    }
 
    /**
     * 设置machine id
     *
     * @param machineId machine id
     */
    public void setMachineId(Integer machineId) {
        this.machineId = machineId;
    }
 
    /**
     * 获取nc program file name
     *
     * @return file_name - nc program file name
     */
    public String getFileName() {
        return fileName;
    }
 
    /**
     * 设置nc program file name
     *
     * @param fileName nc program file name
     */
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
 
    /**
     * 获取program name
     *
     * @return prog_name - program name
     */
    public String getProgName() {
        return progName;
    }
 
    /**
     * 设置program name
     *
     * @param progName program name
     */
    public void setProgName(String progName) {
        this.progName = progName;
    }
 
    /**
     * 获取component number
     *
     * @return component - component number
     */
    public String getComponent() {
        return component;
    }
 
    /**
     * 设置component number
     *
     * @param component component number
     */
    public void setComponent(String component) {
        this.component = component;
    }
 
    /**
     * 获取process number
     *
     * @return process - process number
     */
    public String getProcess() {
        return process;
    }
 
    /**
     * 设置process number
     *
     * @param process process number
     */
    public void setProcess(String process) {
        this.process = process;
    }
 
    /**
     * 获取version
     *
     * @return version - version
     */
    public String getVersion() {
        return version;
    }
 
    /**
     * 设置version
     *
     * @param version version
     */
    public void setVersion(String version) {
        this.version = version;
    }
 
    /**
     * 获取parse time
     *
     * @return time - parse time
     */
    public Date getTime() {
        return time;
    }
 
    /**
     * 设置parse time
     *
     * @param time parse time
     */
    public void setTime(Date time) {
        this.time = time;
    }
 
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", machineId=").append(machineId);
        sb.append(", fileName=").append(fileName);
        sb.append(", progName=").append(progName);
        sb.append(", component=").append(component);
        sb.append(", process=").append(process);
        sb.append(", version=").append(version);
        sb.append(", time=").append(time);
        sb.append("]");
        return sb.toString();
    }
 
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DncProcessing other = (DncProcessing) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMachineId() == null ? other.getMachineId() == null : this.getMachineId().equals(other.getMachineId()))
            && (this.getFileName() == null ? other.getFileName() == null : this.getFileName().equals(other.getFileName()))
            && (this.getProgName() == null ? other.getProgName() == null : this.getProgName().equals(other.getProgName()))
            && (this.getComponent() == null ? other.getComponent() == null : this.getComponent().equals(other.getComponent()))
            && (this.getProcess() == null ? other.getProcess() == null : this.getProcess().equals(other.getProcess()))
            && (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion()))
            && (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime()));
    }
 
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMachineId() == null) ? 0 : getMachineId().hashCode());
        result = prime * result + ((getFileName() == null) ? 0 : getFileName().hashCode());
        result = prime * result + ((getProgName() == null) ? 0 : getProgName().hashCode());
        result = prime * result + ((getComponent() == null) ? 0 : getComponent().hashCode());
        result = prime * result + ((getProcess() == null) ? 0 : getProcess().hashCode());
        result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode());
        result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode());
        return result;
    }
}