完善模型通用接口的无限层级一对一和单层级一对多
This commit is contained in:
@@ -67,9 +67,9 @@ public class VmGetListInput : VmBaseInput
|
||||
/// </summary>
|
||||
public string o { get; set; } = "*";
|
||||
|
||||
public VmListInput ToListInput()
|
||||
public VmQueryInput ToListInput()
|
||||
{
|
||||
VmListInput arg = this.Adapt<VmListInput>();
|
||||
VmQueryInput arg = this.Adapt<VmQueryInput>();
|
||||
|
||||
if (!string.IsNullOrEmpty(q))
|
||||
{
|
||||
@@ -83,7 +83,7 @@ public class VmGetListInput : VmBaseInput
|
||||
/// <summary>
|
||||
/// 获取多条数据输入参数
|
||||
/// </summary>
|
||||
public class VmListInput : VmGetListInput
|
||||
public class VmQueryInput : VmGetListInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询条件
|
||||
@@ -152,20 +152,20 @@ public class PagedOutput<T>
|
||||
/// <summary>
|
||||
/// 动态分页列表输出对象
|
||||
/// </summary>
|
||||
public class VmPagedOutput : PagedOutput<dynamic>
|
||||
public class VmPagedOutput : PagedOutput<DObject>
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询属性信息
|
||||
/// </summary>
|
||||
public class VmSelectProp
|
||||
{
|
||||
public const string MAIN_ALIES = "m";
|
||||
public string code { get; set; } = string.Empty;
|
||||
public string field { get; set; } = string.Empty;
|
||||
public List<string> navPath { get; set; } = new List<string>();
|
||||
public string navCode { get; set; } = MAIN_ALIES;
|
||||
public ePropType propType { get; set; }
|
||||
public eNavigateType navType { get; set; }
|
||||
}
|
||||
///// <summary>
|
||||
///// 查询属性信息
|
||||
///// </summary>
|
||||
//public class VmSelectProp
|
||||
//{
|
||||
// public const string MAIN_ALIES = "m";
|
||||
// public string code { get; set; } = string.Empty;
|
||||
// public string field { get; set; } = string.Empty;
|
||||
// public List<string> navPath { get; set; } = new List<string>();
|
||||
// public string navCode { get; set; } = MAIN_ALIES;
|
||||
// public ePropType propType { get; set; }
|
||||
// public eNavigateType navType { get; set; }
|
||||
//}
|
||||
Reference in New Issue
Block a user