namespace DXPDAL.Auth; // ── MDXPUSER ───────────────────────────────────────────────────────────────── // M table — INT AutoNumber PK. GLOBAL table — a real person, distinct from any tenant's // MUSER. Lives in the DXP system database. public class UserDTO { public int DxpUserId { get; set; } public string FullName { get; set; } = string.Empty; public string Email { get; set; } = string.Empty; public string? Mobile { get; set; } public string PasswordHash { get; set; } = string.Empty; public bool MfaEnabled { get; set; } public string? MfaSecretEncrypted { get; set; } public DateTime? LastLoginOn { get; set; } public short FailedLoginCount { get; set; } // Audit public short Version { get; set; } public byte Status { get; set; } = 1; // 1=Active 2=Locked 3=Deleted public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } }