schangxiang@126.com
2025-05-14 856cdf5c19fcc21255ef06335747040711fce530
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
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.WmsMaterialContainer; 
 
/// <summary> 
/// 物料容器关系导出模型 
/// </summary> 
public  class WmsMaterialContainerExportModel 
            /// <summary>
        /// 托盘编号
        /// </summary>
        [ExcelColumn(Name = "托盘编号", Width = 25)]
        public string ContainerNo { get; set; }
 
        /// <summary>
        /// 物料ID
        /// </summary>
        [ExcelColumn(Name = "物料ID", Width = 25)]
        public string MaterialId { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        [ExcelColumn(Name = "", Width = 25)]
        public int Sort { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        [ExcelColumn(Name = "", Width = 25)]
        public bool? IsDisabled { 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; 
        }