Zxd.Core/code/DG.Tool/Attributes/ExportColumnNameAttribute.cs

23 lines
475 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DG.Tool.Attributes
{
/// <summary>
/// 导出列的别名
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class ExportColumnNameAttribute : Attribute
{
public string? Name { get; set; }
public ExportColumnNameAttribute(string? name)
{
Name = name;
}
}
}