From 63d047db30e03608479ab3d340e925bc3366357c Mon Sep 17 00:00:00 2001
From: huawei <huawei@2214094776>
Date: 星期六, 20 十二月 2025 09:11:45 +0800
Subject: [PATCH] 看板模块
---
Dto/Simple/TreeViewDto.cs | 34 ++++++++++++++++------------------
1 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/Dto/Simple/TreeViewDto.cs b/Dto/Simple/TreeViewDto.cs
index c5a0423..9fa652c 100644
--- a/Dto/Simple/TreeViewDto.cs
+++ b/Dto/Simple/TreeViewDto.cs
@@ -1,39 +1,37 @@
using Newtonsoft.Json;
+using System.Collections.Generic;
namespace NewPdaSqlServer.Dto.Simple;
/// <summary>
-/// 鏍戝舰瑙嗗浘 - 鐢ㄤ簬Layui Tree缁勪欢娓叉煋
+/// 鏍戝舰缁撴瀯DTO - 閫傞厤 Layui Tree 缁勪欢
/// </summary>
public class TreeViewDto
{
- /// <summary>
- /// 鑿滃崟椤笽D
- /// </summary>
[JsonProperty("id")]
public long Id { get; set; }
- /// <summary>
- /// 鑿滃崟鏄剧ず鍚嶇О
- /// </summary>
[JsonProperty("title")]
public string? Title { get; set; }
- /// <summary>
- /// 鑿滃崟鑻辨枃鏍囪瘑
- /// </summary>
[JsonProperty("field")]
- public string? Field { get; set; }
+ public string? Field { get; set; } // 瀵瑰簲 Code
- /// <summary>
- /// 鏄惁榛樿灞曞紑瀛愯妭鐐�
- /// </summary>
[JsonProperty("spread")]
- public bool Spread { get; set; }
+ public bool Spread { get; set; } // 瀵瑰簲 IsExpanded
/// <summary>
- /// 瀛愯彍鍗曞垪琛�
+ /// 璺宠浆閾炬帴 (Layui Tree鐐瑰嚮鏃堕渶瑕�)
/// </summary>
+ [JsonProperty("href")]
+ public string? Href { get; set; } // 瀵瑰簲 Url
+
+ /// <summary>
+ /// 鑺傜偣绫诲瀷 (鍓嶇鍥炬爣鍒ゆ柇渚濇嵁)
+ /// </summary>
+ [JsonProperty("nodeType")]
+ public int NodeType { get; set; }
+
[JsonProperty("children")]
- public List<ChildrenDto>? Children { get; set; }
-}
+ public List<TreeViewDto>? Children { get; set; }
+}
\ No newline at end of file
--
Gitblit v1.9.3