bus_workOrder_detail.cs
8.39 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
using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;
namespace Hh.Mes.POJO.Entity
{
[SugarTable("bus_workOrder_detail")]
public partial class bus_workOrder_detail
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
[SugarColumn(IsNullable = true)]
public Guid bodyKeys { get; set; }
[SugarColumn(IsNullable = true)]
public Guid headKeys { get; set; }
/// <summary>
/// 工序任务包keys
/// </summary>
[SugarColumn(IsNullable = true)]
public Guid topKeys { get; set; }
/// <summary>
/// 产品/半成品唯一序列号(回传MES)
/// </summary>
[SugarColumn(Length = 120, ColumnDescription = "产品/半成品唯一序列号", IsNullable = true)]
public string projectSerialNumber { get; set; }
/// <summary>
/// 产品表code
/// </summary>
[SugarColumn(ColumnDescription = "产品表code", IsNullable = true)]
public string productHeaderCode { get; set; }
/// <summary>
/// 工单code/生产订单号
/// </summary>
[SugarColumn(ColumnDescription = "生产订单号", IsNullable = true)]
public string workOrderCode { get; set; }
/// <summary>
/// 序号
/// </summary>
[SugarColumn(ColumnDescription = "序号", IsNullable = true)]
public int serialNumber { get; set; }
/// <summary>
/// 序号名称
/// </summary>
[SugarColumn(ColumnDescription = "序号名称", IsNullable = true)]
public string serialNumberName { get; set; }
/// <summary>
/// 产线Code
/// </summary>
[SugarColumn(ColumnDescription = "产线Code", IsNullable = true)]
public string lineCode { get; set; }
/// <summary>
/// 班组
/// </summary>
[SugarColumn(ColumnDescription = "班组", IsNullable = true)]
public string teamCode { get; set; }
/// <summary>
/// 工作中心编码/站台编码
/// </summary>
[SugarColumn(ColumnDescription = "工作中心编码", IsNullable = true)]
public string workCenterCode { get; set; }
/// <summary>
/// 工位code
/// </summary>
[SugarColumn(ColumnDescription = "工位code", IsNullable = true)]
public string stationCode { get; set; }
/// <summary>
/// 工序code
/// </summary>
[SugarColumn(ColumnDescription = "工序code", IsNullable = true)]
public string oprSequenceCode { get; set; }
/// <summary>
/// 工序名称
/// </summary>
[SugarColumn(ColumnDescription = "工序名称", IsNullable = true)]
public string oprSequenceName { get; set; }
/// <summary>
/// 设备编码
/// </summary>
[SugarColumn(ColumnDescription = "设备编码", IsNullable = true)]
public string equipmentCode { get; set; }
/// <summary>
/// 任务状态 初始化10、开始10、完成100
/// </summary>
[SugarColumn(ColumnDescription = "任务状态 初始化10、开始10、完成100", IsNullable = true)]
public int state { get; set; }
/// <summary>
/// 报工状态
/// </summary>
[SugarColumn(ColumnDescription = "报工状态", IsNullable = true)]
public int workReportStatus { get; set; }
/// <summary>
/// true返工 false未返工
/// </summary>
[SugarColumn(ColumnDescription = "true返工 false未返工", IsNullable = true)]
public bool isRework { 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 cutMaterCode { get; set; }
/// <summary>
/// 管段切割长度 切割工序
/// </summary>
[SugarColumn(ColumnDescription = "管段切割长度", IsNullable = true)]
public decimal cuttingLength { get; set; }
/// <summary>
/// 焊口形式 对焊BW/插焊SW/支架角焊缝FW 焊接工序
/// </summary>
[SugarColumn(ColumnDescription = "焊口形式", IsNullable = true)]
public string weldType { get; set; }
/// <summary>
/// 图纸URL
/// </summary>
[SugarColumn(ColumnDescription = "图纸URL", IsNullable = true)]
public string designUrl { get; set; }
/// <summary>
/// 图纸页码
/// </summary>
[SugarColumn(ColumnDescription = "图纸页码", IsNullable = true)]
public string designNo { get; set; }
/// <summary>
/// 焊口号 焊接工序
/// </summary>
[SugarColumn(ColumnDescription = "焊口号", IsNullable = true)]
public string weldNo { get; set; }
/// <summary>
/// 焊口物料 焊接工序
/// </summary>
[SugarColumn(ColumnDescription = "焊口物料", IsNullable = true)]
public string weldMaterCode { get; set; }
/// <summary>
/// 条码 要在下料后的管段上打印的编码
/// 同一个工序里面的任务明细 值不同
/// </summary>
[SugarColumn(ColumnDescription = "管段码", IsNullable = true)]
public string barCode { get; set; }
/// <summary>
/// 管段号
/// </summary>
[SugarColumn(ColumnDescription = "管段号", IsNullable = true)]
public string partCode { get; set; }
/// <summary>
/// 批次号 组队开始 码2回写
/// </summary>
[SugarColumn(ColumnDescription = "批次号", IsNullable = true)]
public string batchNo { get; set; }
/// <summary>
/// 是否成品管 0:否 1:是
/// </summary>
[SugarColumn(ColumnDescription = "是否成品管 0:否 1:是", IsNullable = true)]
public int isEndProduct { get; set; }
[SugarColumn(IsNullable = true)]
public int isDelete { get; set; }
[SugarColumn(IsNullable = true)]
public string extend1 { get; set; }
[SugarColumn(IsNullable = true)]
public string extend2 { get; set; }
/// <summary>
/// extendComp1
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "扩展字段1", IsNullable = true)]
public string extendComp1 { get; set; }
/// <summary>
/// extendComp2
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "扩展字段2", IsNullable = true)]
public string extendComp2 { get; set; }
/// <summary>
/// extendComp3
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "扩展字段3", IsNullable = true)]
public string extendComp3 { get; set; }
/// <summary>
/// extendComp4
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "扩展字段4", IsNullable = true)]
public string extendComp4 { 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; }
}
}