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/Domain/Entities/UserCenter/OrganRolePermission.cs

19 lines
572 B

using Infrastructure.Domain;
using System;
using System.ComponentModel.DataAnnotations;
namespace IoT.Shared.Application.Domain.Entities
{
[Display(Name = "角色权限")]
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)]
[Group("基础设置", "Admin")]
public class OrganRolePermission : BaseEntity
{
public Guid RoleId { get; set; }
public Guid PermissionId { get; set; }
public OrganRole Role { get; set; }
public Permission Permission { get; set; }
public bool IsReadOnly { get; set; }
}
}