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