feat 导出
This commit is contained in:
19
Src/Dlhis.ExcelHelper/ExcelAttribute.cs
Normal file
19
Src/Dlhis.ExcelHelper/ExcelAttribute.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user