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;
|
}
|
}
|
}
|