using System.Collections.Generic; namespace Magic.Core.Service; /// /// 字典类型与字典值构造的树 /// public class DictTreeOutput { /// /// Id /// public long Id { get; set; } /// /// 父Id /// public long Pid { get; set; } /// /// 编码-对应字典值的编码 /// public string Code { get; set; } /// /// 名称-对应字典值的value /// public string Name { get; set; } /// /// 子节点集合 /// public List Children { get; set; } = new List(); }