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/UserCenter/Application/Models/EditPermissionModel.cs

20 lines
508 B

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