Open Source Web Application Framework for ASP.NET Core
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.
 
 
 
 
 
 

32 lines
814 B

using System;
using Volo.Abp.Domain.Entities;
namespace Volo.Abp.Identity
{
/// <summary>
/// Represents the link between a user and a role.
/// </summary>
public class IdentityUserRole : Entity
{
/// <summary>
/// Gets or sets the primary key of the user that is linked to a role.
/// </summary>
public virtual Guid UserId { get; protected set; }
/// <summary>
/// Gets or sets the primary key of the role that is linked to the user.
/// </summary>
public virtual Guid RoleId { get; protected set; }
protected IdentityUserRole()
{
}
protected internal IdentityUserRole(Guid userId, Guid roleId)
{
UserId = userId;
RoleId = roleId;
}
}
}