wangxinhui
4 天以前 a0a0df2e824b6fe7e5a3c0afce78127fecf84fc9
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.ERP
{
    /// <summary>
    /// 博思通生产领料接收实体
    /// </summary>
    [ModelValidate]
    public class BSTPickInfoDTO
    {
        /// <summary>
        /// 数据获取方式标识(1:新增 2:修改 3:删除)
        /// </summary>
        [PropertyValidate("数据获取方式标识(1:新增 2:修改 3:删除)", NotNullAndEmpty = true)]
        public int Way { get; set; }
 
        /// <summary>
        /// 领料单ID
        /// </summary>
        [PropertyValidate("领料单ID", NotNullAndEmpty = true)]
        public int PaperMattakeId { get; set; }
 
        /// <summary>
        /// 领料单号
        /// </summary>
        [PropertyValidate("领料单号", NotNullAndEmpty = true)]
        public string PaperMattakeNo { get; set; }
 
        /// <summary>
        /// 领用日期
        /// </summary>
        [PropertyValidate("生产日期", NotNullAndEmpty = true)]
        public long MattakeDate { get; set; }
 
        /// <summary>
        /// 领用员工
        /// </summary>
        [PropertyValidate("领用员工", NotNullAndEmpty = true)]
        public long EmployeeName { get; set; }
 
        /// <summary>
        /// 领用明细
        /// </summary>
        [PropertyValidate("领用明细", NotNullAndEmpty = true)]
        public List<PaperMattakeDetailItem> PaperMattakeDetails { get; set; }
    }
    /// <summary>
    /// 生产排程明细
    /// </summary>
    public class PaperMattakeDetailItem
    {
        /// <summary>
        /// 关联的主表ID
        /// </summary>
        [PropertyValidate("关联的主表ID", NotNullAndEmpty = true)]
        public int PaperMattakeId { get; set; }
 
        /// <summary>
        /// 关联的主表ID
        /// </summary>
        [PropertyValidate("物料ID", NotNullAndEmpty = true)]
        public int MaterialId { get; set; }
 
        /// <summary>
        /// 物料条码
        /// </summary>
        [PropertyValidate("物料条码", NotNullAndEmpty = true)]
        public string Barcode { get; set; }
 
        /// <summary>
        /// 物料编码
        /// </summary>
        [PropertyValidate("物料编码", NotNullAndEmpty = true)]
        public string MaterialNo { get; set; }
 
        /// <summary>
        /// 批次号
        /// </summary>
        [PropertyValidate("批次号", NotNullAndEmpty = true)]
        public string SeqNo { get; set; }
 
        /// <summary>
        /// 幅宽
        /// </summary>
        [PropertyValidate("幅宽", NotNullAndEmpty = true)]
        public decimal W { get; set; }
 
        /// <summary>
        /// 数量
        /// </summary>
        [PropertyValidate("数量", NotNullAndEmpty = true)]
        public decimal Qty { get; set; }
 
        /// <summary>
        /// 采购长度
        /// </summary>
        [PropertyValidate("采购长度", NotNullAndEmpty = true)]
        public decimal ProcurementLength { get; set; }
 
        /// <summary>
        /// 需求长度
        /// </summary>
        [PropertyValidate("需求长度", NotNullAndEmpty = true)]
        public string Unit { get; set; }
    }
}