using BTCPayServer.Validations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

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; }

        public string StatusMessage
        {
            get; set;
        }

    }
}
