using Newtonsoft.Json; namespace MiaoYu.Api.Admin.Models.Dtos.Systems; public class SysDictionaryDto : SysDictionary { public int Key { get { return Id; } } public string? Title { get { return Name; } } public List Children { get; set; } /// /// 父级名称 /// public string? ParentName { get; set; } } /// /// /// public class SysDictionaryInfo { public int Id { get; set; } /// /// 排序号 /// public int Sort { get; set; } /// /// 编码 /// public string? Code { get; set; } /// /// 分组名称/键 /// public string? Name { get; set; } /// /// 值 /// public string? Value { get; set; } /// /// 父级Id /// public int? ParentId { get; set; } /// /// 扩展属性 /// public string? ExtendValue { get; set; } /// /// 项目编码 /// public string? ProjectCode { get; set; } }