Вытащил солюшен на уровень выше, чтобы прощё было дотнетить
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-10-05 14:32:06 +03:00
parent fa87a56ad1
commit aae4b28089
242 changed files with 159 additions and 159 deletions

12
Domains/Users/Role.cs Normal file
View File

@@ -0,0 +1,12 @@
namespace Domains.Users;
/// Role of <see cref="User"/>
public enum Role
{
/// Requests visa applications
Applicant,
/// Approves or declines applications
ApprovingAuthority,
/// Manages approving authorities
Admin
}

13
Domains/Users/User.cs Normal file
View File

@@ -0,0 +1,13 @@
namespace Domains.Users;
public class User : IEntity
{
/// Unique Identifier of <see cref="User"/>
public Guid Id { get; private set; } = Guid.NewGuid();
public Role Role { get; set; }
public string Email { get; set; } = null!;
public string Password { get; set; } = null!;
}