i'm not sure what i'm doing

This commit is contained in:
Вячеслав 2025-03-25 22:56:35 +05:00
parent 950babb68c
commit 35331a87f1
7 changed files with 41 additions and 13 deletions

View file

@ -1,15 +1,11 @@
using Microsoft.AspNetCore.Identity;
namespace SurveyBackend.Core.Models;
public class User
public class User : IdentityUser<int>
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Username { get; set; }
public string Email { get; set; }
public byte[] PasswordSalt { get; set; }
public byte[] PasswordHash { get; set; }
public ICollection<Group> Groups { get; set; }
}