namespace FSO.Server.Database.DA.EmailConfirmation
{
///
/// EmailConfirmation model
///
public class EmailConfirmation
{
///
/// Confirmation type. Can be an email confirmation or password
/// reset confirmation.
///
public ConfirmationType type { get; set; }
///
/// The user email address.
///
public string email { get; set; }
///
/// Randomized token.
///
public string token { get; set; }
///
/// Timestamp when the confirmation token will expire.
///
public uint expires { get; set; }
}
public enum ConfirmationType
{
email = 1,
password
}
}