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