using Infrastructure.Domain; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "字典分类", Order = 10)] [Scope] [AdminModule] public class DictionaryCategory : BaseEntity { [Required] public string Name { get; set; } [Required] public string Key { get; set; } public List Items { get; set; } } }