using Infrastructure.Domain; using System; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "角色权限", Order = 81)] [Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll )] [AdminModule] public class RolePermission : BaseEntity { public Guid RoleId { get; set; } public Guid PermissionId { get; set; } public Role Role { get; set; } public Permission Permission { get; set; } public bool IsReadOnly { get; set; } } }