using Infrastructure.Application; using System; using System.ComponentModel.DataAnnotations; namespace Application.Models { [Display(Name = "权限")] public class EditPermissionModel : EditModel { [Display(Name = "分类"), Required] [DataType("SelectList")] public Guid? CategoryId { get; set; } [Display(Name = "名称"), Required] public string Name { get; set; } [Display(Name = "编号"), Required] public string Number { get; set; } } }