using System.ComponentModel.DataAnnotations;

namespace MemberCenter.Web.Models.Account;

public sealed class ExternalRegisterConfirmationViewModel
{
    public string Provider { get; set; } = string.Empty;

    public string? Email { get; set; }

    public string? ReturnUrl { get; set; }

    public bool RememberMe { get; set; }

    [Display(Name = "AcceptTerms")]
    [Range(typeof(bool), "true", "true", ErrorMessage = "You must accept the terms before registering.")]
    public bool AcceptTerms { get; set; }
}
