namespace Dlhis.ExcelHelper; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] public class ExcelAttribute : Attribute { public ExcelAttribute(string description) : this(description, string.Empty) { } public ExcelAttribute(string description, string format) { Description = description; Format = format; } public string Description { get; set; } public string Format { get; set; } }