Yuebon.NetCore/Yuebon.Commons/Tree/JsTreeModel.cs
(完整代码) 1KBnamespace Yuebon.Commons.Tree
{
/// <summary>
/// JsTree 数据模型实体
/// {
/// id : "string" // required
/// parent : "string" // required
/// text : "string" // node text
/// icon : "string" // string for custom
/// state : {
/// opened : boolean // is the node open
/// disabled : boolean // is the node disabled
/// selected : boolean // is the node selected
/// },
/// li_attr : {} // attributes for the generated LI node
/// a_attr : {} // attributes for the generated A node
/// }
/// </summary>
public class JsTreeModel
{
public long id { get; set; }
public long? parent { get; set; }
public string text { get; set; }
public string icon { get; set; }
public JsTreeStateModel state { get; set; }
public List<JsTreeModel> children { get; set; }
}
public class JsTreeStateModel
{
public bool opened { get; set; }
public bool disabled { get; set; }
public bool selected { get; set; }
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。