zs
2025-05-09 14f9c8378bde7d9a8d8f1fcc393e0e8d49eced82
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
using MiniExcelLibs.Attributes; 
using System.ComponentModel.DataAnnotations; 
using System; 
using System.ComponentModel; 
using CMS.Plugin.HIAWms.Domain.Shared.Enums; 
namespace CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsContainerPlace; 
 
/// <summary> 
/// 库位容器关系导出模型 
/// </summary> 
public  class WmsContainerPlaceExportModel 
            /// <summary>
        /// 库位编码
        /// </summary>
        [ExcelColumn(Name = "库位编码", Width = 25)]
        public string PlaceNo { get; set; }
 
        /// <summary>
        /// 编码
        /// </summary>
        [ExcelColumn(Name = "编码", Width = 25)]
        public string ContainerNo { get; set; }
 
        /// <summary>
        /// 排序
        /// </summary>
        [ExcelColumn(Name = "排序", Width = 25)]
        public int Sort { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        [ExcelColumn(Name = "名称", Width = 25)]
        public DateTime BindTime { get; set; }
 
        /// <summary>
        /// 是否禁用
        /// </summary>
        [ExcelColumn(Name = "是否禁用", Width = 25)]
        public bool? IsDisabled { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [ExcelColumn(Name = "备注", Width = 25)]
        public string Remark { get; set; }
 
        /// <summary>
        /// 创建人
        /// </summary>
        [ExcelColumn(Name = "创建人", Width = 25)]
        public string CreatorName { get; set; }
 
        /// <summary>
        /// 删除备注
        /// </summary>
        [ExcelColumn(Name = "删除备注", Width = 25)]
        public string DeleteRemark { get; set; }
 
        /// <summary>
        /// 扩展字段1
        /// </summary>
        [ExcelColumn(Name = "扩展字段1", Width = 25)]
        public string ExtraField1 { get; set; }
 
        /// <summary>
        /// 扩展字段2
        /// </summary>
        [ExcelColumn(Name = "扩展字段2", Width = 25)]
        public string ExtraField2 { get; set; }
 
        /// <summary>
        /// 扩展字段3
        /// </summary>
        [ExcelColumn(Name = "扩展字段3", Width = 25)]
        public string ExtraField3 { get; set; }
 
        /// <summary>
        /// 修改人
        /// </summary>
        [ExcelColumn(Name = "修改人", Width = 25)]
        public string LastModifierName { get; set; }
 
        /// <summary>
        /// 操作备注
        /// </summary>
        [ExcelColumn(Name = "操作备注", Width = 25)]
        public string OperationRemark { 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; 
        }