roadie/Roadie.Api.Library/Identity/ApplicationRoleClaim.cs
2018-12-26 13:39:13 -06:00

14 lines
No EOL
374 B
C#

using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Identity
{
[Table("userRoleClaims")]
public class ApplicationRoleClaim : IdentityRoleClaim<int>
{
public virtual ApplicationRole Role { get; set; }
[Column("userRoleId")]
public override int RoleId { get; set; }
}
}