添加Tnb.Vengine

This commit is contained in:
2023-08-15 11:41:49 +08:00
parent 69930e06a2
commit 45e59b175f
47 changed files with 3060 additions and 3066 deletions

View File

@@ -0,0 +1,54 @@
/////////////////////////////////////////////////////////////////////////////////
// 宁波拓通e智造平台 ToTong Next Builder //
// https://git.tuotong-tech.com/tnb/tnb.server //
/////////////////////////////////////////////////////////////////////////////////
using Newtonsoft.Json;
namespace Tnb.Vengine.Domain;
/// <summary>
/// 导航属性
/// </summary>
public class VmNavProp : VmBaseProp
{
/// <summary>
/// 导航属性模型id
/// </summary>
public string vmid { get; set; } = string.Empty;
/// <summary>
/// 导航关联类型
/// </summary>
public eNavigateType navType { get; set; }
/// <summary>
/// 源表字段
/// </summary>
public string refCode { get; set; } = VmSelectProp.MAIN_ALIES;
/// <summary>
/// 被引用字段
/// </summary>
public string refField { get; set; } = string.Empty;
/// <summary>
/// 源表字段
/// </summary>
public string fkField { get; set; } = string.Empty;
///// <summary>
///// 关联表表名
///// </summary>
//[JsonIgnore]
//public string refTable { get; set; } = string.Empty;
///// <summary>
///// 被引用表(中间表)
///// </summary>
//[JsonIgnore]
//public string? midTable { get; set; }
[JsonIgnore]
public Vmodel? naviModel { get; set; }
}