添加Tnb.Vengine
This commit is contained in:
36
visualdev/Tnb.Vengine/Domain/VmBaseProp.cs
Normal file
36
visualdev/Tnb.Vengine/Domain/VmBaseProp.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
// 宁波拓通e智造平台 ToTong Next Builder //
|
||||
// https://git.tuotong-tech.com/tnb/tnb.server //
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace Tnb.Vengine.Domain;
|
||||
|
||||
/// <summary>
|
||||
/// 视图模型属性
|
||||
/// </summary>
|
||||
public class VmBaseProp
|
||||
{
|
||||
/// <summary>
|
||||
/// 属性代码
|
||||
/// </summary>
|
||||
public string code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 显示名称
|
||||
/// </summary>
|
||||
public string name { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class DictOption
|
||||
{
|
||||
public string dictTypeId { get; set; } = string.Empty;
|
||||
public string refField { get; set; } = "id";
|
||||
}
|
||||
|
||||
public class CompOption
|
||||
{
|
||||
public string type { get; set; } = "el-input";
|
||||
public JObject attr { get; set; } = new JObject();
|
||||
}
|
||||
Reference in New Issue
Block a user