MomWorkOrder.cs
3.25 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
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hh.Mes.POJO.ApiEntity
{
/// <summary>
/// Mom工单
/// </summary>
public class MomWorkOrderHead
{
/// <summary>
/// 唯一标识ID
/// </summary>
public string plmeid { get; set; }
/// <summary>
/// 生产订单号
/// </summary>
public string pro_order_code { get; set; }
/// <summary>
/// 生产计划号
/// </summary>
public string plan_code { get; set; }
/// <summary>
/// 产品编码
/// </summary>
public string product_code { get; set; }
/// <summary>
/// 产品名称
/// </summary>
public string product_name { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal num { get; set; }
/// <summary>
/// 工厂
/// </summary>
public string factory { get; set; }
/// <summary>
/// 产线编码
/// </summary>
public string line_code { get; set; }
/// <summary>
/// 订单类型
/// </summary>
public string order_type { get; set; }
/// <summary>
/// 工艺路线版本
/// </summary>
public string edition { get; set; }
/// <summary>
/// 单位
/// </summary>
public string unit_code { get; set; }
/// <summary>
/// 计划开始日期
/// </summary>
public DateTime playdate { get; set; }
/// <summary>
/// 计划结束日期
/// </summary>
public DateTime enddate { get; set; }
/// <summary>
/// 预留字段2
/// </summary>
public string ylzd2 { get; set; }
/// <summary>
/// 更新标识 "I:新增 U:修改 D:删除"
/// </summary>
public string type { get; set; }
/// <summary>
/// 物料需求列表
/// </summary>
public List<MomWorkOrderDetail> details = new List<MomWorkOrderDetail>();
}
/// <summary>
/// Mom物料需求信息
/// </summary>
public class MomWorkOrderDetail
{
/// <summary>
/// 生产计划号
/// </summary>
public string plan_code { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string mater_code { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string mater_name { get; set; }
/// <summary>
/// 需求数量
/// </summary>
public decimal qty { get; set; }
/// <summary>
/// 需求单位
/// </summary>
public string wh_code { get; set; }
/// <summary>
/// 工位编码
/// </summary>
public string station_code { get; set; }
/// <summary>
/// 工序编码
/// </summary>
public string proced_code { get; set; }
/// <summary>
/// 预留字段3
/// </summary>
public string ylzd3 { get; set; }
/// <summary>
/// 预留字段4
/// </summary>
public string ylzd4 { get; set; }
}
}