完善模型通用接口的无限层级一对一和单层级一对多

This commit is contained in:
2023-11-15 13:43:24 +08:00
parent d800987307
commit 9c03ef2bcc
145 changed files with 758 additions and 10219 deletions

View File

@@ -27,17 +27,17 @@ public class VmNavProp : VmBaseProp
/// <summary>
/// 源表代码,默认为m,表示与主表关联,可设置为中间表导航属性code,用来表示多对多
/// </summary>
public string refCode { get; set; } = VmSelectProp.MAIN_ALIES;
public string refCode { get; set; } = VmQueryParser.MAIN_ALIES;
/// <summary>
/// 源表字段, 源表的外键字段
/// </summary>
public string refField { get; set; } = string.Empty;
public string refProp { get; set; } = string.Empty;
/// <summary>
/// 导航表字段
/// </summary>
public string fkField { get; set; } = string.Empty;
public string fkProp { get; set; } = string.Empty;
/// <summary>
/// 关联模型