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/EditRoleModel.cs

18 lines
478 B

using Infrastructure.Application;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Application.Models
{
[Display(Name = "角色")]
public class EditRoleModel : EditModel
{
[Display(Name = "名称"), Required]
public string Name { get; set; }
[DataType("MultiSelectList")]
[Display(Name = "权限")]
public List<Guid> Permissions { get; set; } = new List<Guid>();
}
}