mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 22:20:21 +00:00
17 lines
465 B
C#
17 lines
465 B
C#
|
using Microsoft.AspNetCore.Identity;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|||
|
namespace Roadie.Library.Identity
|
|||
|
{
|
|||
|
[Table("usersInRoles")]
|
|||
|
public class ApplicationUserRole : IdentityUserRole<int>
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
public virtual ApplicationRole Role { get; set; }
|
|||
|
|
|||
|
[Column("userRoleId")]
|
|||
|
public override int RoleId { get; set; }
|
|||
|
|
|||
|
public virtual ApplicationUser User { get; set; }
|
|||
|
}
|
|||
|
}
|