roadie/RoadieLibrary/Identity/ApplicationUserRole.cs
Steven Hildreth 0344d1e604 WIP
2018-11-10 17:26:04 -06:00

17 lines
No EOL
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; }
}
}