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 OrganUserRole : BaseEntity { public bool IsReadOnly { get; set; } public Guid OrganUserId { get; set; } public Guid OrganRoleId { get; set; } public OrganUser OrganUser { get; set; } public OrganRole OrganRole { get; set; } } }