You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/StudyCenter/Application/Models/Users/EditPermissionModel.cs

21 lines
627 B

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