AIMS/AIMSExtension/TableAttribute.cs
2022-08-23 21:12:59 +08:00

27 lines
604 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AIMSExtension
{
[AttributeUsage(AttributeTargets.Class,Inherited =true)]
public class TableAttribute : Attribute
{
public string TableName { get; set; }
public string Descript { get; set; }
public TableAttribute(string name)
{
this.TableName = name;
}
public TableAttribute(string name,string remark)
{
this.TableName = name;
this.Descript = remark;
}
}
}