alielie
2025-11-25 006c98e5650b530e5220f279c1e803fefe69d40d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
 
namespace HMI.Core
{
    [AttributeUsage(AttributeTargets.Property)]
    public class ExcelColumnAttribute : Attribute
    {
        public string Name { get; private set; }
        public bool IgnoreExport { get; private set; }
        public bool IgnoreImport { get; private set; }
 
        public ExcelColumnAttribute(string name, bool ignoreExport = false, bool ignoreImport = false)
        {
            this.Name = name;
            this.IgnoreExport = ignoreExport;
            this.IgnoreImport = ignoreImport;
        }
    }
}