added Infrastructure

This commit is contained in:
Вячеслав 2025-03-25 19:42:06 +05:00
parent ba7ac36920
commit 751b08e805
4 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,9 @@
namespace SurveyBackend.Core.Models;
public class Group
{
public int Id { get; set; }
public string Label { get; set; }
public ICollection<User> Users { get; set; }
}

View file

@ -6,6 +6,8 @@ public class User
public string Username { get; set; }
public string Email { get; set; }
public byte[] PasswordHash { get; set; }
public byte[] PasswordSalt { get; set; }
public byte[] PasswordHash { get; set; }
public ICollection<Group> Groups { get; set; }
}