58 lines
1.4 KiB
C#
58 lines
1.4 KiB
C#
/////////////////////////////////////////////////////////////////////////////////
|
|
// 宁波拓通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
|
|
{
|
|
#region Properties
|
|
|
|
/// <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; }
|
|
|
|
#endregion Properties
|
|
} |