using Infrastructure.Application; using System.ComponentModel.DataAnnotations; namespace IoT.Shared.Application.Models { [Display(Name ="字典分类")] public class EditDictionaryCategoryModel : EditModel { [Required] [Display(Name = "名称")] public string Name { get; set; } [Required] [Display(Name = "编号")] public string Key { get; set; } } }