Auth
This commit is contained in:
19
LaDOSE.Src/LaDOSE.Entity/ApplicationUser.cs
Normal file
19
LaDOSE.Src/LaDOSE.Entity/ApplicationUser.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
|
||||
namespace LaDOSE.Entity
|
||||
{
|
||||
public class ApplicationUser
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string Username { get; set; }
|
||||
[NotMapped]
|
||||
public string Password { get; set; }
|
||||
public byte[] PasswordHash { get; set; }
|
||||
public byte[] PasswordSalt { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user