first commit

This commit is contained in:
2026-09-10 16:43:09 +02:00
commit 79cf35f690
144 changed files with 8822 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
namespace App.Core.Entities.Team;
/// <summary>
/// Compte utilisateur local (authentification par mot de passe haché, Argon2id).
/// </summary>
public class User
{
public int Id { get; set; }
public required string Username { get; set; }
/// <summary>Hash Argon2id du mot de passe. Jamais le mot de passe en clair.</summary>
public required string PasswordHash { get; set; }
public required string FullName { get; set; }
public string? Email { get; set; }
public UserRole Role { get; set; }
public bool IsActive { get; set; } = true;
public DateTime CreatedAtUtc { get; set; }
public DateTime? LastLoginAtUtc { get; set; }
public TechnicianProfile? TechnicianProfile { get; set; }
}