using MongoDB.Entities; namespace PrivaPub.Models.User { public class EmailRecovery : Entity { public string RootUserId { get; set; } public string CodeHash { get; set; }//sha-256 of the code, hex; the code itself exists only in the email public DateTime ExpiresAt { get; set; } } }