Files
tnb.server/visualdev/Tnb.VisualDev.Engine/Model/DbTableRelationModel.cs
2023-03-13 15:00:34 +08:00

50 lines
986 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.DependencyInjection;
namespace JNPF.VisualDev.Engine;
/// <summary>
/// 数据关联.
/// </summary>
[SuppressSniffer]
public class DbTableRelationModel
{
/// <summary>
/// 类型1-主表、0-子表.
/// </summary>
public string typeId { get; set; }
/// <summary>
/// 表名.
/// </summary>
public string table { get; set; }
/// <summary>
/// 说明.
/// </summary>
public string tableName { get; set; }
/// <summary>
/// 主键.
/// </summary>
public string tableKey { get; set; }
/// <summary>
/// 外键字段.
/// </summary>
public string tableField { get; set; }
/// <summary>
/// 关联主表.
/// </summary>
public string relationTable { get; set; }
/// <summary>
/// 关联主键.
/// </summary>
public string relationField { get; set; }
/// <summary>
/// 功能名称.
/// </summary>
public string className { get; set; }
}