wangxinhui
2025-11-12 f54b7815d8451f362554e3d2d09b4991ce13d4ff
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
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.MES
{
    /// <summary>
    /// MES成品/半成品接收实体
    /// </summary>
    [ModelValidate]
    public class MESProInDTO
    {
        /// <summary>
        /// 生产订单编码(上游)
        /// </summary>
        [PropertyValidate("生产订单编码", NotNullAndEmpty = true)]
        public string ProductOrderNo { get; set; }
 
        /// <summary>
        /// 派单工单编码(上游)
        /// </summary>
        [PropertyValidate("派单工单编码", NotNullAndEmpty = true)]
        public string SendOrderNo { get; set; }
 
        /// <summary>
        /// 工序序号(上游)
        /// </summary>
        [PropertyValidate("工序序号(上游)", NotNullAndEmpty = true)]
        public int ProcessNum { get; set; }
 
        /// <summary>
        /// 仓库
        /// </summary>
        [PropertyValidate("仓库", NotNullAndEmpty = true)]
        public string WarehouseCode { get; set; }
 
        /// <summary>
        /// 物料编码
        /// </summary>
        [PropertyValidate("物料编码", NotNullAndEmpty = true)]
        public string MaterialCode { get; set; }
 
        /// <summary>
        /// 物料批次
        /// </summary>
        [PropertyValidate("物料批次", NotNullAndEmpty = true)]
        public string MaterialLot { get; set; }
 
        /// <summary>
        /// 物料等级
        /// </summary>
        [PropertyValidate("物料等级", NotNullAndEmpty = true)]
        public string GradeCode { get; set; }
 
        /// <summary>
        /// 物料数量
        /// </summary>
        [PropertyValidate("物料数量", NotNullAndEmpty = true)]
        public decimal ProQuantity { get; set; }
 
        /// <summary>
        /// 物料条码
        /// </summary>
        [PropertyValidate("物料条码", NotNullAndEmpty = true)]
        public string BarCode { get; set; }
 
        /// <summary>
        /// 加工中心编码(机台)
        /// </summary>
        [PropertyValidate("加工中心编码", NotNullAndEmpty = true)]
        public string MakeCode { get; set; }
 
        /// <summary>
        /// 是否尾箱
        /// </summary>
        [PropertyValidate("是否尾箱", NotNullAndEmpty = true)]
        public bool IsMantissa { get; set; }
 
        /// <summary>
        /// 位置编号
        /// </summary>
        [PropertyValidate("位置编号", NotNullAndEmpty = true)]
        public string PointCode { get; set; }
 
        /// <summary>
        /// 卷径
        /// </summary>
        [PropertyValidate("卷径", NotNullAndEmpty = true)]
        public decimal Thickness { get; set; }
 
        /// <summary>
        /// 幅宽
        /// </summary>
        [PropertyValidate("幅宽", NotNullAndEmpty = true)]
        public decimal Wide { get; set; }
 
        /// <summary>
        /// 重量
        /// </summary>
        [PropertyValidate("重量", NotNullAndEmpty = true)]
        public decimal Weight { get; set; }
 
        /// <summary>
        /// 成品包材纸箱物料编码
        /// </summary>
        [PropertyValidate("成品包材纸箱物料编码", NotNullAndEmpty = true)]
        public string ProPackCode { get; set; }
 
        /// <summary>
        /// 箱长
        /// </summary>
        [PropertyValidate("箱长", NotNullAndEmpty = true)]
        public decimal Length { get; set; }
 
        /// <summary>
        /// 箱宽
        /// </summary>
        [PropertyValidate("箱宽", NotNullAndEmpty = true)]
        public decimal Width { get; set; }
 
        /// <summary>
        /// 箱高
        /// </summary>
        [PropertyValidate("箱高", NotNullAndEmpty = true)]
        public decimal Height { get; set; }
    }
}