xiaojiao
4 天以前 b532ba8806996246ab7a0896bf34b884c47dee7e
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
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化,请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA.Entity.SystemModels;
 
namespace WIDESEA.Entity.DomainModels
{
    [Entity(TableCnName = "库存查询", TableName = "VV_ContainerInfo")]
    public class VV_ContainerInfo : BaseEntity
    {
        /// <summary>
        ///主键ID
        /// </summary>
        [Key]
        [Display(Name = "主键ID")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid containerdtl_id { get; set; }
 
        /// <summary>
        ///容器头id
        /// </summary>
        [Display(Name = "容器头id")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid containerhead_id { get; set; }
 
        /// <summary>
        ///库区/区域ID
        /// </summary>
        [Display(Name = "库区/区域ID")]
        [MaxLength(80)]
        [Column(TypeName = "nvarchar(80)")]
        public string containerhead_areaid { get; set; }
 
        /// <summary>
        ///托盘号
        /// </summary>
        [Display(Name = "托盘号")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        [Required(AllowEmptyStrings = false)]
        public string containerhead_barcode { get; set; }
 
        /// <summary>
        ///物料名称
        /// </summary>
        [Display(Name = "物料名称")]
        [MaxLength(400)]
        [Column(TypeName = "nvarchar(400)")]
        [Required(AllowEmptyStrings = false)]
        public string materiel_name { get; set; }
 
        /// <summary>
        ///物料id
        /// </summary>
        [Display(Name = "物料id")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Required(AllowEmptyStrings = false)]
        public string materiel_id { get; set; }
 
        /// <summary>
        ///物料类型
        /// </summary>
        [Display(Name = "物料类型")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string materiel_type { get; set; }
 
        /// <summary>
        ///计量单位
        /// </summary>
        [Display(Name = "计量单位")]
        [MaxLength(20)]
        [Column(TypeName = "nvarchar(20)")]
        public string materiel_unit { get; set; }
 
        /// <summary>
        ///货位id
        /// </summary>
        [Display(Name = "货位id")]
        [MaxLength(510)]
        [Column(TypeName = "nvarchar(510)")]
        public string location_id { get; set; }
 
        /// <summary>
        ///货位状态
        /// </summary>
        [Display(Name = "货位状态")]
        [MaxLength(510)]
        [Column(TypeName = "nvarchar(510)")]
        public string location_state { get; set; }
 
        /// <summary>
        ///货位是否锁定
        /// </summary>
        [Display(Name = "货位是否锁定")]
        [Column(TypeName = "bit")]
        [Required(AllowEmptyStrings = false)]
        public bool location_islocked { get; set; }
 
        /// <summary>
        ///行
        /// </summary>
        [Display(Name = "行")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        public int location_line { get; set; }
 
        /// <summary>
        ///列
        /// </summary>
        [Display(Name = "列")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        public int location_column { get; set; }
 
        /// <summary>
        ///层
        /// </summary>
        [Display(Name = "层")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        public int location_layer { get; set; }
 
        /// <summary>
        ///创建者
        /// </summary>
        [Display(Name = "创建者")]
        [MaxLength(255)]
        [Column(TypeName = "varchar(255)")]
        public string containerdtl_creator { get; set; }
 
        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        public DateTime? containerdtl_createtime { get; set; }
 
        /// <summary>
        ///预留1
        /// </summary>
        [Display(Name = "预留1")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_text1 { get; set; }
 
        /// <summary>
        ///预留2
        /// </summary>
        [Display(Name = "预留2")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_text2 { get; set; }
 
        /// <summary>
        ///预留3
        /// </summary>
        [Display(Name = "预留3")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_text3 { get; set; }
 
        /// <summary>
        ///后挡内径合格否
        /// </summary>
        [Display(Name = "后挡内径合格否")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_four_result { get; set; }
 
        /// <summary>
        ///油档测量结果
        /// </summary>
        [Display(Name = "油档测量结果")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_three_result { get; set; }
 
        /// <summary>
        ///轴承外径结果
        /// </summary>
        [Display(Name = "轴承外径结果")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_out_value { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        [Display(Name = "containerhead_requstkey")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        public string containerhead_requstkey { get; set; }
 
        /// <summary>
        ///深度
        /// </summary>
        [Display(Name = "深度")]
        [Column(TypeName = "int")]
        public int? location_deep { get; set; }
 
        /// <summary>
        ///物料ID
        /// </summary>
        [Display(Name = "物料ID")]
        [MaxLength(80)]
        [Column(TypeName = "nvarchar(80)")]
        [Required(AllowEmptyStrings = false)]
        public string containerdtl_materielid { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        [Display(Name = "containerdtl_requstkey")]
        [MaxLength(80)]
        [Column(TypeName = "nvarchar(80)")]
        public string containerdtl_requstkey { get; set; }
 
        /// <summary>
        ///操作者
        /// </summary>
        [Display(Name = "操作者")]
        [MaxLength(20)]
        [Column(TypeName = "nvarchar(20)")]
        public string containerdtl_operator { get; set; }
 
        /// <summary>
        ///轴承识别号
        /// </summary>
        [Display(Name = "轴承识别号")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_identifierNo { get; set; }
 
        /// <summary>
        ///收入单位
        /// </summary>
        [Display(Name = "收入单位")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_inboundUnit { get; set; }
 
        /// <summary>
        ///测量标准
        /// </summary>
        [Display(Name = "测量标准")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_standard { get; set; }
 
        /// <summary>
        ///车型
        /// </summary>
        [Display(Name = "车型")]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_carType { get; set; }
 
        /// <summary>
        ///轴承型号
        /// </summary>
        [Display(Name = "轴承型号")]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_type { get; set; }
 
        /// <summary>
        ///托盘条码
        /// </summary>
        [Display(Name = "托盘条码")]
        [MaxLength(80)]
        [Column(TypeName = "nvarchar(80)")]
        public string containerdtl_barcode { get; set; }
 
        /// <summary>
        ///制造单位
        /// </summary>
        [Display(Name = "制造单位")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string containerdtl_madeUnit { get; set; }
 
        /// <summary>
        ///制造日期
        /// </summary>
        [Display(Name = "制造日期")]
        [Column(TypeName = "datetime")]
        public DateTime? containerdtl_madeDate { get; set; }
 
        /// <summary>
        ///轴承编号
        /// </summary>
        [Display(Name = "轴承编号")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string containerdtl_number { get; set; }
 
        /// <summary>
        ///轴承条码
        /// </summary>
        [Display(Name = "轴承条码")]
        [MaxLength(510)]
        [Column(TypeName = "nvarchar(510)")]
        public string containerdtl_goodsCode { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        [Display(Name = "csize_container_detail_id")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Required(AllowEmptyStrings = false)]
        public string csize_container_detail_id { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        [Display(Name = "csize_barcode")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        public string csize_barcode { get; set; }
 
        /// <summary>
        ///轴承内径值
        /// </summary>
        [Display(Name = "轴承内径值")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_in_value { get; set; }
 
        /// <summary>
        ///轴承内径结果
        /// </summary>
        [Display(Name = "轴承内径结果")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_in_result { get; set; }
 
        /// <summary>
        ///挡油内径平均值
        /// </summary>
        [Display(Name = "挡油内径平均值")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_three_3 { get; set; }
 
        /// <summary>
        ///后挡内径平均值
        /// </summary>
        [Display(Name = "后挡内径平均值")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_four_3 { get; set; }
 
        /// <summary>
        ///轴承外径结果
        /// </summary>
        [Display(Name = "轴承外径结果")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string csize_out_result { get; set; }
 
        /// <summary>
        ///入库时间
        /// </summary>
        [Display(Name = "入库时间")]
        [Column(TypeName = "datetime")]
        [Required(AllowEmptyStrings = false)]
        public DateTime containerhead_createtime { get; set; }
 
        /// <summary>
        ///空托重量
        /// </summary>
        [Display(Name = "空托重量")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string containerhead_palletweight { get; set; }
 
        /// <summary>
        ///实托重量
        /// </summary>
        [Display(Name = "实托重量")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        public string containerdtl_goodsWeight { get; set; }
 
        /// <summary>
        ///称重结果
        /// </summary>
        [Display(Name = "称重结果")]
        [DisplayFormat(DataFormatString = "18,2")]
        [Column(TypeName = "decimal")]
        [Editable(true)]
        public decimal? containerdtl_standardResult { get; set; }
 
        /// <summary>
        ///入库时长
        /// </summary>
        [Display(Name = "入库时长")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        public string DateDiffResult { get; set; }
 
 
        /// <summary>
        /// 质检确认
        /// </summary>
        [Display(Name = "质检确认")]
        [Column(TypeName = "bit")]
        [Editable(true)]
        public bool? containerdtl_qualityCheck { get; set; }
 
        /// <summary>
        ///质检确认时间
        /// </summary>
        [Display(Name = "质检确认时间")]
        [Column(TypeName = "datetime")]
        public DateTime? containerdtl_qualityCheckTime { get; set; }
 
        /// <summary>
        ///质检确认人
        /// </summary>
        [Display(Name = "质检确认人")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string containerdtl_qualityCheckUser { get; set; }
 
        /// <summary>
        /// 收货确认
        /// </summary>
        [Display(Name = "收货确认")]
        [Column(TypeName = "bit")]
        [Editable(true)]
        public bool? containerdtl_takeGoogsCheck { get; set; }
 
        /// <summary>
        ///收货确认时间
        /// </summary>
        [Display(Name = "收货确认时间")]
        [Column(TypeName = "datetime")]
        public DateTime? containerdtl_takeGoogsCheckTime { get; set; }
 
        /// <summary>
        ///收货确认人
        /// </summary>
        [Display(Name = "收货确认人")]
        [MaxLength(40)]
        [Column(TypeName = "nvarchar(40)")]
        public string containerdtl_takeGoogsCheckUser { get; set; }
 
        [Display(Name = "测量货位是否异常")]
        [MaxLength(50)]
        [Column(TypeName = "nvarcher(50)")]
 
        public string containerdtl_isError { get; set; }
 
        /// <summary>
        /// 批次
        /// </summary>
        [Display(Name = "批次")]
        [MaxLength(20)]
        [Column(TypeName = "varchar(20)")]
        public string containerdtl_lotNumber { get; set; }
 
        /// <summary>
        /// 生产日期
        /// </summary>
        [Display(Name = "生产日期")]
        [MaxLength(30)]
        [Column(TypeName = "nvarchar(30)")]
        public string containerdtl_ProductDate { get; set; }
 
        /// <summary>
        ///轴承重量标准值
        /// </summary>
        [Display(Name = "轴承重量标准值")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string Standard_value { get; set; }
 
    }
}