bus_workOrder_head.cs
7.15 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
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; }
[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; }
}
}