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

19 lines
586 B

using Infrastructure.Domain;
using System;
using System.ComponentModel.DataAnnotations;
namespace Application.Domain.Entities
{
[Display(Name = "用户角色", Order = 81)]
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)]
[Module("基础设置", "Admin")]
[ManyToMany]
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 Role OrganRole { get; set; }
}
}