mirror of
https://github.com/cq-panda/Vue.NetCore.git
synced 2026-10-20 16:21:27 +08:00
36 lines
931 B
C#
36 lines
931 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace VOL.Entity
|
|
{
|
|
public class EntityAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// 真实表名(数据库表名,若没有填写默认实体为表名)
|
|
/// </summary>
|
|
public string TableName { get; set; }
|
|
/// <summary>
|
|
/// 表中文名
|
|
/// </summary>
|
|
public string TableCnName { get; set; }
|
|
/// <summary>
|
|
/// 子表
|
|
/// </summary>
|
|
public Type[] DetailTable { get; set; }
|
|
/// <summary>
|
|
/// 子表中文名
|
|
/// </summary>
|
|
public string DetailTableCnName { get; set; }
|
|
/// <summary>
|
|
/// 数据库
|
|
/// </summary>
|
|
public string DBServer { get; set; }
|
|
|
|
public Type ApiInput { get; set; }
|
|
public Type ApiOutput { get; set; }
|
|
}
|
|
}
|