using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Win_in.Sfs.Shared.Domain; namespace Win_in.Sfs.Basedata.Application.Contracts; [Serializable] [Display(Name = "字典")] public class DictDTO : SfsBaseDataDTOBase, IHasCode, IHasName { /// /// 字典代码 /// [Display(Name = "字典代码")] public string Code { get; set; } /// /// 字典名称 /// [Display(Name = "字典名称")] public string Name { get; set; } /// /// 字典描述 /// [Display(Name = "字典描述")] public string Description { get; set; } /// /// 字典项列表 /// [Display(Name = "字典项列表")] public List Items { get; set; } = new List(); }