db and auth refactoring
This commit is contained in:
parent
0e1c16ab91
commit
aa472f9e29
45 changed files with 2182 additions and 697 deletions
18
Sledgemapper.Api/Core/Entities/User.cs
Normal file
18
Sledgemapper.Api/Core/Entities/User.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System.Collections.Generic;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace Sledgemapper.Entities
|
||||
{
|
||||
public class User:IdentityUser
|
||||
{
|
||||
// public int Id { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
// public string Email { get; set; }
|
||||
// public string Username { get; set; }
|
||||
public string Initials { get; set; }
|
||||
// public byte[] PasswordHash { get; set; }
|
||||
public byte[] PasswordSalt { get; set; }
|
||||
public ICollection<Sledgemapper.Api.Core.Entities.Campaign> Campaigns {get;set;}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue