using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Validation; namespace BTCPayServer.Models.ManageViewModels { public class IndexViewModel { public string Username { get; set; } [Required] [EmailAddress] [MaxLength(50)] public string Email { get; set; } public bool IsEmailConfirmed { get; set; } [Phone] [Display(Name = "Phone number")] [MaxLength(50)] public string PhoneNumber { get; set; } } }