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