using System; namespace FrameworkDAL.DTO.EIPConversation { /// /// Maps TEIPOTPRECORD — a hashed, persisted OTP challenge issued for a /// high-risk Capability. OTPHASH is a SHA-256 hex digest; the plaintext OTP /// is never stored. /// public class EIPOtpRecordDTO { public int OtpRecordId { get; set; } public int TenantId { get; set; } public string UserIdentifier { get; set; } = string.Empty; public string CapabilityCode { get; set; } = string.Empty; public string OtpHash { get; set; } = string.Empty; public DateTime ExpiresOn { get; set; } public DateTime? VerifiedOn { get; set; } public byte AttemptCount { get; set; } /// 1=Pending, 2=Verified, 3=Expired, 4=Failed (attempt limit exceeded) public byte OtpStatus { get; set; } public int CreatedById { get; set; } public int ModifiedById { get; set; } } }