using Infrastructure.Application; using System; using System.ComponentModel.DataAnnotations; namespace IoT.Shared.Application.Models { [Display(Name = "数据字典")] public class EditDictionaryItemModel : EditModel { [Required] [Display(Name = "名称")] public string Name { get; set; } [Required] [Display(Name = "取值")] public string Value { get; set; } [Display(Name = "序号")] public int Order { get; set; } [Required] [SelectList] [Display(Name = "分类")] public Guid? CategoryId { get; set; } } }