bus_workOrder_head.cs
11.3 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
using System;
using SqlSugar;
namespace Hh.Mes.POJO.Entity
{
[SugarTable("bus_workOrder_head")]
public partial class bus_workOrder_head
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
[SugarColumn(IsNullable = false)]
public Guid keys { get; set; }
/// <summary>
/// 工序任务包keys
/// </summary>
[SugarColumn(ColumnDescription = "工序任务包keys", IsNullable = true)]
public Guid topKeys { get; set; }
/// <summary>
/// 产品/半成品唯一序列号(回传MES)
/// </summary>
[SugarColumn(Length = 120, ColumnDescription = "产品/半成品唯一序列号", IsNullable = true)]
public string projectSerialNumber { get; set; }
/// <summary>
/// 工艺路线keys
/// </summary>
[SugarColumn(ColumnDescription = "工艺路线keys", IsNullable = true)]
public Guid processHeadKeys { get; set; }
/// <summary>
/// 产品表code
/// </summary>
[SugarColumn(ColumnDescription = "产品表code", IsNullable = true)]
public string productHeaderCode { get; set; }
/// <summary>
/// 产品表name
/// </summary>
[SugarColumn(ColumnDescription = "产品表name", IsNullable = true)]
public string productName { get; set; }
/// <summary>
/// 工单code 生产订单号
/// </summary>
[SugarColumn(ColumnDescription = "工单code 生产订单号", IsNullable = true)]
public string workOrderCode { get; set; }
/// <summary>
/// 工单code 生产订单名称
/// </summary>
[SugarColumn(ColumnDescription = "工单code 生产订单名称", IsNullable = true)]
public string workOrderName { get; set; }
/// <summary>
/// 生产计划号 唯一
/// </summary>
[SugarColumn(ColumnDescription = "生产计划号", IsNullable = true)]
public string planCode { get; set; }
/// <summary>
/// 工单工作包Code
/// </summary>
[SugarColumn(ColumnDescription = "工单工作包Code", IsNullable = true)]
public string otherOrderCode { get; set; }
/// <summary>
/// 订单类型 1:正常订单;2:返工返修订单
/// </summary>
[SugarColumn(ColumnDescription = "订单类型 1:正常订单;2:返工返修订单", IsNullable = true)]
public string orderType { get; set; }
/// <summary>
/// 项目编码
/// </summary>
[SugarColumn(ColumnDescription = "项目编码", IsNullable = true)]
public string projectCode { get; set; }
/// <summary>
/// 项目名称
/// </summary>
[SugarColumn(ColumnDescription = "项目名称", IsNullable = true)]
public string projectName { get; set; }
/// <summary>
/// 管线号/图纸号
/// </summary>
[SugarColumn(ColumnDescription = "管线号/单管号", IsNullable = true)]
public string lineNo { get; set; }
/// <summary>
/// 工厂编码
/// </summary>
[SugarColumn(ColumnDescription = "工厂编码", IsNullable = true)]
public string factoryCode { get; set; }
/// <summary>
/// 产线Code
/// </summary>
[SugarColumn(ColumnDescription = "产线Code", IsNullable = true)]
public string lineCode { get; set; }
/// <summary>
/// 当前工序(方便查询)
/// </summary>
[SugarColumn(ColumnDescription = "当前工序(方便查询)", IsNullable = true)]
public string nowOprSequenceCode { get; set; }
/// <summary>
/// true 报废 false未报废
/// </summary>
[SugarColumn(ColumnDescription = "true 报废 false未报废", IsNullable = true)]
public bool isScrap { get; set; }
/// <summary>
/// 任务状态
/// </summary>
[SugarColumn(ColumnDescription = "任务状态", IsNullable = true)]
public int? state { get; set; }
/// <summary>
/// 计划开始时间
/// </summary>
[SugarColumn(ColumnDescription = "计划开始时间", IsNullable = true)]
public DateTime planStartTime { get; set; }
/// <summary>
/// 计划结束时间
/// </summary>
[SugarColumn(ColumnDescription = "计划结束时间", IsNullable = true)]
public DateTime? planEndTime { get; set; }
/// <summary>
/// 实际开始时间(进线时间)
/// </summary>
[SugarColumn(ColumnDescription = "实际开始时间(进线时间)", IsNullable = true)]
public DateTime? actualStartTime { get; set; }
/// <summary>
/// 实际结束时间 出线时间
/// </summary>
[SugarColumn(ColumnDescription = "实际结束时间 出线时间", IsNullable = true)]
public DateTime? actualEndTime { get; set; }
/// <summary>
/// 下个工序
/// </summary>
[SugarColumn(ColumnDescription = "下个工序", IsNullable = true)]
public string nextOprSequenceCode { get; set; }
/// <summary>
/// 当前工位
/// </summary>
[SugarColumn(ColumnDescription = "当前工位", IsNullable = true)]
public string nowStationCode { get; set; }
/// <summary>
/// 下一个工位
/// </summary>
[SugarColumn(ColumnDescription = "下一个工位", IsNullable = true)]
public string nextStationCode { get; set; }
[SugarColumn(IsNullable = true)]
public string plmeId { get; set; }
/// <summary>
/// 工艺路线版本
/// </summary>
[SugarColumn(ColumnDescription = "工艺路线版本", IsNullable = true)]
public decimal edition { get; set; }
/// <summary>
/// 扩展字段1
/// </summary>
[SugarColumn(ColumnDescription = "扩展字段1", IsNullable = true)]
public string extend1 { get; set; }
/// <summary>
/// 扩展字段2
/// </summary>
[SugarColumn(ColumnDescription = "扩展字段2", IsNullable = true)]
public string extend2 { get; set; }
/// <summary>
/// 扩展字段3
/// </summary>
[SugarColumn(ColumnDescription = "扩展字段3", IsNullable = true)]
public string extend3 { get; set; }
/// <summary>
/// 扩展字段4
/// </summary>
[SugarColumn(ColumnDescription = "扩展字段4", IsNullable = true)]
public string extend4 { get; set; }
// 1 是默认 0 是删除
[SugarColumn(IsNullable = true)]
public int isDelete { get; set; }
/// <summary>
/// 建立时间
/// </summary>
[SugarColumn(ColumnDescription = "建立时间", IsNullable = true)]
public DateTime createTime { get; set; }
/// <summary>
/// 建立者
/// </summary>
[SugarColumn(ColumnDescription = "建立者", IsNullable = true)]
public string createBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public DateTime? updateTime { get; set; }
/// <summary>
/// 更新者
/// </summary>
[SugarColumn(ColumnDescription = "更新者", IsNullable = true)]
public string updateBy { get; set; }
/// <summary>
/// 工件编码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "工件编码", IsNullable = true)]
public string workPieceNo { get; set; }
/// <summary>
/// 管件号
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "管件号", IsNullable = true)]
public string pipePartsNo { get; set; }
/// <summary>
/// 管件9位码
/// </summary>
[SugarColumn(Length = 9, ColumnDescription = "管件9位码", IsNullable = true)]
public string pipePartsCode { get; set; }
/// <summary>
/// 涂装代码
/// </summary>
[SugarColumn(Length = 20, ColumnDescription = "涂装代码", IsNullable = true)]
public string paintCode { 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>
/// 附件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>
/// 工单表keys
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "工单表keys", IsNullable = true)]
public Guid headKeys { get; set; }
}
}