base_work_order_head.cs
16.4 KB
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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
using System;
using SqlSugar;
using System.Collections;
using System.Collections.Generic;
namespace Hh.Mes.POJO.Entity
{
[SugarTable("base_work_order_head")]
public partial class base_work_order_head : base_Entity
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int iD { get; set; }
/// <summary>
/// 工单code 生产订单号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "工单code 生产订单号", IsNullable = false)]
public string workOrderCode { get; set; }
/// <summary>
/// 产线 小经:line1 中1:line2 中2:line3 大经:line4
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "产线 小经:line1 中1:line2 中2:line3 大经:line4", IsNullable = false)]
public string lineCode { get; set; }
/// <summary>
/// 工件编码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "工件编码", IsNullable = false)]
public string workPieceNo { get; set; }
/// <summary>
/// 项目号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "项目号", IsNullable = false)]
public string projectNo { get; set; }
/// <summary>
/// 管件号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "管件号", IsNullable = false)]
public string pipePartsNo { get; set; }
/// <summary>
/// 管件9位码
/// </summary>
[SugarColumn(Length = 9, ColumnDescription = "管件9位码", IsNullable = false)]
public string pipePartsCode { get; set; }
/// <summary>
/// 涂装代码
/// </summary>
[SugarColumn(Length = 20, ColumnDescription = "涂装代码", IsNullable = true)]
public string paintCode { get; set; }
/// <summary>
/// 开工日期
/// </summary>
[SugarColumn(ColumnDescription = "开工日期", IsNullable = true)]
public DateTime startWorkDate { get; set; }
/// <summary>
/// 组立信息
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "组立信息", IsNullable = true)]
public string assemblageInfo { get; set; }
/// <summary>
/// 系列
/// </summary>
[SugarColumn(Length = 20, ColumnDescription = "系列", IsNullable = true)]
public string range { get; set; }
/// <summary>
/// 直径
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "直径", IsNullable = true)]
public string diameter { get; set; }
/// <summary>
/// 壁厚
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "壁厚", IsNullable = true)]
public string thickness { get; set; }
/// <summary>
/// 等级
/// </summary>
[SugarColumn(Length = 10, ColumnDescription = "等级", IsNullable = true)]
public string level { get; set; }
/// <summary>
/// 物资编码 管材物资编码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "物资编码 管材物资编码", IsNullable = true)]
public string materielCode { get; set; }
/// <summary>
/// 切断长
/// </summary>
[SugarColumn(ColumnDescription = "切断长", IsNullable = true)]
public int cutLength { get; set; }
/// <summary>
/// 流向1 切断管材的流向
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "流向1 切断管材的流向", IsNullable = true)]
public string flowOrientation1 { get; set; }
/// <summary>
/// 流向2 管部件在产线完工后的流向,如果为空则代表完工
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "流向2 管部件在产线完工后的流向,如果为空则代表完工", IsNullable = true)]
public string flowOrientation2 { get; set; }
/// <summary>
/// 附件1 物资编码(如果是套管,传管材物资编码)
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "附件1 物资编码(如果是套管,传管材物资编码)", IsNullable = true)]
public string attachment1 { get; set; }
/// <summary>
/// 说明1 S搭焊/B对焊
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "说明1 S搭焊/B对焊", IsNullable = true)]
public string instructions1 { get; set; }
/// <summary>
/// 坡口 无坡口信息为空/有坡口显示角度
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "坡口 无坡口信息为空/有坡口显示角度", IsNullable = true)]
public string bevels1 { get; set; }
/// <summary>
/// 附件2 物资编码
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "附件2 物资编码", IsNullable = true)]
public string attachment2 { get; set; }
/// <summary>
/// 说明2 S搭焊/B对焊
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "说明2 S搭焊/B对焊", IsNullable = true)]
public string instructions2 { get; set; }
/// <summary>
/// 坡口2
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "坡口2", IsNullable = true)]
public string bevels2 { get; set; }
/// <summary>
/// 扭转角度 有法兰转角时,存在数据
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "扭转角度 有法兰转角时,存在数据", IsNullable = true)]
public string turningAngle { get; set; }
/// <summary>
/// 备用1
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用1", IsNullable = true)]
public string extend1 { get; set; }
/// <summary>
/// 备用2
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用2", IsNullable = true)]
public string extend2 { get; set; }
/// <summary>
/// 备用3
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用3", IsNullable = true)]
public string extend3 { get; set; }
/// <summary>
/// 备用4
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用4", IsNullable = true)]
public string extend4 { get; set; }
/// <summary>
/// 操作人员
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "操作人员", IsNullable = false)]
public string createBy { get; set; }
/// <summary>
/// 操作时间
/// </summary>
[SugarColumn(ColumnDescription = "操作时间", IsNullable = false)]
public DateTime createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public DateTime updateTime { get; set; }
/// <summary>
/// 更新人员
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "更新人员", IsNullable = false)]
public string updateby { get; set; }
[SugarColumn(IsNullable = true)]
public Guid keys { get; set; }
/// <summary>
/// 处理状态
/// </summary>
[SugarColumn(Length = 2, ColumnDescription = "处理状态", IsNullable = false)]
public string processStatus { get; set; } = "0";
/// <summary>
/// 处理结果信息
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "处理结果信息", IsNullable = false)]
public string processMsg { get; set; }
[SugarColumn(Length = 255, ColumnDescription = "取消时间", IsNullable = false)]
public DateTime cancelTime { get; set; }
/// <summary>
/// 条码 九位码-涂装号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "条码 九位码-涂装号", IsNullable = false)]
public string barCode { get; set; }
/// <summary>
/// 喷码 : 附件1+转角/坡口+九位码+系列+组立+坡口/附件2+转角
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "喷码", IsNullable = false)]
public string paintPrintCode { get; set; }
/// <summary>
/// 附件1打印信息
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "附件1打印信息", IsNullable = false)]
public string attachment1PrintInfo { get; set; }
/// <summary>
///附件2打印信息
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "附件2打印信息", IsNullable = false)]
public string attachment2PrintInfo { get; set; }
[SugarColumn(Length = 50, ColumnDescription = "计划号", IsNullable = false)]
public string planCode { get; set; }
}
/// <summary>
/// 工单
/// </summary>
public partial class base_work_order
{
/// <summary>
/// 工单code 生产订单号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "工单code 生产订单号", IsNullable = false)]
public string workOrderCode { get; set; }
/// <summary>
/// 产线 小经:line1 中1:line2 中2:line3 大经:line4
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "产线 小经:line1 中1:line2 中2:line3 大经:line4", IsNullable = false)]
public string lineCode { get; set; }
/// <summary>
/// 工件编码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "工件编码", IsNullable = false)]
public string workPieceNo { get; set; }
/// <summary>
/// 项目号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "项目号", IsNullable = false)]
public string projectNo { get; set; }
/// <summary>
/// 管件号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "管件号", IsNullable = false)]
public string pipePartsNo { get; set; }
/// <summary>
/// 管件9位码
/// </summary>
[SugarColumn(Length = 9, ColumnDescription = "管件9位码", IsNullable = false)]
public string pipePartsCode { get; set; }
/// <summary>
/// 涂装代码
/// </summary>
[SugarColumn(Length = 20, ColumnDescription = "涂装代码", IsNullable = true)]
public string paintCode { get; set; }
/// <summary>
/// 开工日期
/// </summary>
[SugarColumn(ColumnDescription = "开工日期", IsNullable = true)]
public DateTime startWorkDate { get; set; }
/// <summary>
/// 组立信息
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "组立信息", IsNullable = true)]
public string assemblageInfo { get; set; }
/// <summary>
/// 系列
/// </summary>
[SugarColumn(Length = 20, ColumnDescription = "系列", IsNullable = true)]
public string range { get; set; }
/// <summary>
/// 直径
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "直径", IsNullable = true)]
public string diameter { get; set; }
/// <summary>
/// 壁厚
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "壁厚", IsNullable = true)]
public string thickness { get; set; }
/// <summary>
/// 等级
/// </summary>
[SugarColumn(Length = 10, ColumnDescription = "等级", IsNullable = true)]
public string level { get; set; }
/// <summary>
/// 物资编码 管材物资编码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "物资编码 管材物资编码", IsNullable = true)]
public string materielCode { get; set; }
/// <summary>
/// 切断长
/// </summary>
[SugarColumn(ColumnDescription = "切断长", IsNullable = true)]
public int cutLength { get; set; }
/// <summary>
/// 流向1 切断管材的流向
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "流向1 切断管材的流向", IsNullable = true)]
public string flowOrientation1 { get; set; }
/// <summary>
/// 流向2 管部件在产线完工后的流向,如果为空则代表完工
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "流向2 管部件在产线完工后的流向,如果为空则代表完工", IsNullable = true)]
public string flowOrientation2 { get; set; }
/// <summary>
/// 附件1 物资编码(如果是套管,传管材物资编码)
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "附件1 物资编码(如果是套管,传管材物资编码)", IsNullable = true)]
public string attachment1 { get; set; }
/// <summary>
/// 说明1 S搭焊/B对焊
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "说明1 S搭焊/B对焊", IsNullable = true)]
public string instructions1 { get; set; }
/// <summary>
/// 坡口 无坡口信息为空/有坡口显示角度
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "坡口 无坡口信息为空/有坡口显示角度", IsNullable = true)]
public string bevels1 { get; set; }
/// <summary>
/// 附件2 物资编码
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "附件2 物资编码", IsNullable = true)]
public string attachment2 { get; set; }
/// <summary>
/// 说明2 S搭焊/B对焊
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "说明2 S搭焊/B对焊", IsNullable = true)]
public string instructions2 { get; set; }
/// <summary>
/// 坡口2
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "坡口2", IsNullable = true)]
public string bevels2 { get; set; }
/// <summary>
/// 扭转角度 有法兰转角时,存在数据
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "扭转角度 有法兰转角时,存在数据", IsNullable = true)]
public string turningAngle { get; set; }
/// <summary>
/// 备用1
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用1", IsNullable = true)]
public string extend1 { get; set; }
/// <summary>
/// 备用2
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用2", IsNullable = true)]
public string extend2 { get; set; }
/// <summary>
/// 备用3
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用3", IsNullable = true)]
public string extend3 { get; set; }
/// <summary>
/// 备用4
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "备用4", IsNullable = true)]
public string extend4 { get; set; }
/// <summary>
/// 弯管
/// </summary>
public List<base_work_order_bends> bends { get; set; }
/// <summary>
/// 火焰切割
/// </summary>
public List<Work_Order_FlameCut> Cuts { get; set; }
/// <summary>
/// 火焰切割开口数据
/// </summary>
//public List<base_work_order_flameCut_d> flameCut_d { get; set; }
/// <summary>
/// 装配信息
/// </summary>
public List<base_work_order_mounting> mounting { get; set; }
/// <summary>
/// 附件1打印信息
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "附件1打印信息", IsNullable = false)]
public string attachment1PrintInfo { get; set; }
/// <summary>
///附件2打印信息
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "附件2打印信息", IsNullable = false)]
public string attachment2PrintInfo { get; set; }
}
}