using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SCC.Models { /// /// 网络爬虫工具特性类 /// class SCCSysAttribute { } /// /// 彩种表名称特性 /// [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)] public sealed class TableNameAttribute : Attribute { private string _tablename; public string TableName { get { return _tablename; } } /// /// 构造函数 /// /// 表名称 public TableNameAttribute(string TableName) { this._tablename = TableName; } } }