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/IoT.Shared/Application/Models/Users/EditPermissionModel.cs

20 lines
518 B

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; }
}
}