修改泛型通用接口
This commit is contained in:
@@ -7,6 +7,29 @@ using Tnb.Vengine.Domain;
|
||||
|
||||
namespace Tnb.Vengine.AppService;
|
||||
|
||||
public class VmodelGetInput : VmGetInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 模块code, areaCode和vmCode为一组
|
||||
/// </summary>
|
||||
public string? areaCode { get; set; }
|
||||
/// <summary>
|
||||
/// 模型code, areaCode和vmCode为一组
|
||||
/// </summary>
|
||||
public string? vmCode { get; set; }
|
||||
/// <summary>
|
||||
/// 是否钻取子模型
|
||||
/// </summary>
|
||||
public bool drill { get; set; } = false;
|
||||
}
|
||||
public class VmodelCreateInput : VmEditInput
|
||||
{
|
||||
public new Vmodel? data { get; set; }
|
||||
}
|
||||
public class VmodelUpdateInput : VmEditInput
|
||||
{
|
||||
public new Vmodel? data { get; set; }
|
||||
}
|
||||
public class VmodelCreateFromTableInput
|
||||
{
|
||||
public string? dbCode { get; set; }
|
||||
@@ -17,17 +40,19 @@ public class VmodelCreateFromTableInput
|
||||
public string areaCode { get; set; } = "edp";
|
||||
}
|
||||
|
||||
public class CreatePageFromVmodelInput
|
||||
public class VmodelPageCreateInput : VmEditInput
|
||||
{
|
||||
public new VmodelPage? data { get; set; }
|
||||
}
|
||||
|
||||
public class VmodelPageUpdateInput : VmEditInput
|
||||
{
|
||||
public new VmodelPage? data { get; set; }
|
||||
}
|
||||
|
||||
public class VmodelPageCreateFromVmodelInput
|
||||
{
|
||||
public Guid? viewId { get; set; }
|
||||
public string? vmid { get; set; }
|
||||
}
|
||||
|
||||
public class VmodelGetInput : VmGetInput
|
||||
{
|
||||
public string? areaCode { get; set; }
|
||||
public string? vmCode { get; set; }
|
||||
public string? dbCode { get; set; }
|
||||
public string? tableName { get; set; }
|
||||
public bool drill { get; set; } = false;
|
||||
}
|
||||
Reference in New Issue
Block a user