using Deal.Modules.Tenants.Application.Models;
namespace Deal.Infrastructure.Persistence.Entities;
///
/// Пользователь тенанта в системной схеме public.
///
public sealed class UserEntity
{
public Guid Id { get; set; } = Guid.NewGuid();
///
/// Логин пользователя
///
public string Login { get; set; } = string.Empty;
public Guid TenantId { get; set; }
public string PasswordHash { get; set; } = string.Empty;
public string Status { get; set; } = TenantStatuses.Active;
public DateTimeOffset CreatedAt { get; set; }
}