base_loader_task.cs
3.16 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
using System;
using SqlSugar;
namespace Hh.Mes.POJO.Entity
{
[SugarTable("base_loader_task")]
public partial class base_loader_task
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
/// <summary>
/// 设备编码
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "设备编码", IsNullable = false)]
public string equipmentCode { get; set; }
/// <summary>
/// 任务号
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "任务号", IsNullable = false)]
public string taskCode { get; set; }
/// <summary>
/// 物料编码
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "物料编码", IsNullable = false)]
public string materialCode { get; set; }
/// <summary>
/// 上料数量
/// </summary>
[SugarColumn(ColumnDescription = "上料数量", IsNullable = false)]
public int loaderNum { get; set; }
/// <summary>
/// 已经测长数量
/// </summary>
[SugarColumn(ColumnDescription = "已经测长数量", IsNullable = false)]
public int feedbackNum { get; set; }
/// <summary>
/// 上料状态初始 = 0,上料中= 5,成功 = 10,失败 = 30,过期 = 40
/// </summary>
[SugarColumn(ColumnDescription = "上料状态初始 = 0,上料中= 5,成功 = 10,失败 = 30,过期 = 40", IsNullable = false)]
public int loaderStatus { get; set; }
/// <summary>
/// 操作人员
/// </summary>
[SugarColumn(Length = 255, 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>
/// 备用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>
/// 已消耗数量
/// </summary>
[SugarColumn(ColumnDescription = "已消耗数量", IsNullable = false)]
public int consumeNum { get; set; }
}
public class Measuring
{
/// <summary>
/// 任务号
/// </summary>
public string taskCode { get; set; }
/// <summary>
/// 长度
/// </summary>
public int taskLength { get; set; }
/// <summary>
/// 顺序
/// </summary>
public int taskOrder { get; set; }
}
}