Added Authorization
This commit is contained in:
parent
04049f31f6
commit
e47d6488c2
15 changed files with 134 additions and 21 deletions
|
@ -8,7 +8,7 @@
|
|||
RandomEliteSpecialization = 4,
|
||||
}
|
||||
|
||||
public abstract class Raid
|
||||
public class Raid
|
||||
{
|
||||
public int RaidId { get; private set; }
|
||||
|
||||
|
|
|
@ -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
9
Lieb/Models/UserRole.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
namespace Lieb.Models
|
||||
{
|
||||
public class UserRole
|
||||
{
|
||||
public int UserRoleId { get; set; }
|
||||
|
||||
public string RoleName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue