Added Authorization

This commit is contained in:
t.ruspekhofer 2022-02-22 01:06:41 +01:00
parent 04049f31f6
commit e47d6488c2
15 changed files with 134 additions and 21 deletions

View file

@ -8,7 +8,7 @@
RandomEliteSpecialization = 4,
}
public abstract class Raid
public class Raid
{
public int RaidId { get; private set; }

View file

@ -10,5 +10,6 @@ namespace Lieb.Models
public string Pronouns { get; set; } = string.Empty;
public DateTime? Birthday { get; set; }
public ICollection<GuildWars2Account> GuildWars2Accounts { get; set; } = new List<GuildWars2Account>();
public ICollection<UserRole> Roles { get; set; } = new List<UserRole>();
}
}

9
Lieb/Models/UserRole.cs Normal file
View file

@ -0,0 +1,9 @@
namespace Lieb.Models
{
public class UserRole
{
public int UserRoleId { get; set; }
public string RoleName { get; set; } = string.Empty;
}
}