using System; namespace Ant.Entity { /// /// 自定义扩展表信息 /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class TableAttribute : Attribute { public TableAttribute() { } public TableAttribute(string name) { Name = name; } /// /// 表名 /// public string Name { get; set; } } }