2
schangxiang@126.com
2025-05-11 4d916744ba1ba9066d1ecf809f43ddddb817b26b
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
using MiniExcelLibs.Attributes; 
using System.ComponentModel.DataAnnotations; 
using System; 
using System.ComponentModel; 
using CMS.Plugin.PipeLineLems.Domain.Shared.Enums; 
namespace CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.CallMaterialOrder; 
 
/// <summary> 
/// 叫料单表导出模型 
/// </summary> 
public  class CallMaterialOrderExportModel 
            /// <summary>
        /// 原料标识
        /// </summary>
        [ExcelColumn(Name = "原料标识", Width = 25)]
        public string DataIdentifier { get; set; }
 
        /// <summary>
        /// 原料型号
        /// </summary>
        [ExcelColumn(Name = "原料型号", Width = 25)]
        public string MaterialMode { get; set; }
 
        /// <summary>
        /// 叫料状态
        /// </summary>
        [ExcelColumn(Name = "叫料状态", Width = 25)]
        public CallMaterialStatusEnum CallMaterialStatus { get; set; }
 
        /// <summary>
        /// 叫料数量
        /// </summary>
        [ExcelColumn(Name = "叫料数量", Width = 25)]
        public int Quantity { get; set; }
 
        /// <summary>
        /// WMS返回结果
        /// </summary>
        [ExcelColumn(Name = "WMS返回结果", Width = 25)]
        public string WmsRetResult { get; set; }
 
        /// <summary>
        /// WMS任务号
        /// </summary>
        [ExcelColumn(Name = "WMS任务号", Width = 25)]
        public string WmsTaskNo { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        [ExcelColumn(Name = "创建时间", Width = 25)]
        public DateTime CreationTime { get; set; }
 
        /// <summary>
        /// 修改时间
        /// </summary>
        [ExcelColumn(Name = "修改时间", Width = 25)]
        public DateTime LastModificationTime { get; set; }
 
        /// <summary>
        /// 创建人
        /// </summary>
        [ExcelColumn(Name = "创建人", Width = 25)]
        public string CreatorName { get; set; }
 
        /// <summary>
        /// 修改人
        /// </summary>
        [ExcelColumn(Name = "修改人", Width = 25)]
        public string LastModifierName { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [ExcelColumn(Name = "备注", Width = 25)]
        public string Remark { get; set; }
 
 
 
    public Dictionary<string, object> GetExportData() 
        { 
            var exportData = new Dictionary<string, object>(); 
            foreach (var property in this.GetType().GetProperties()) 
            { 
                exportData.Add(property.Name, property.GetValue(this)); 
            } 
 
            return exportData; 
        }