using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VOL.Entity { public class EntityAttribute : Attribute { /// /// 真实表名(数据库表名,若没有填写默认实体为表名) /// public string TableName { get; set; } /// /// 表中文名 /// public string TableCnName { get; set; } /// /// 子表 /// public Type[] DetailTable { get; set; } /// /// 子表中文名 /// public string DetailTableCnName { get; set; } /// /// 数据库 /// public string DBServer { get; set; } public Type ApiInput { get; set; } public Type ApiOutput { get; set; } } }