btcpayserver/BTCPayServer/Models/ManageViewModels/IndexViewModel.cs

22 lines
377 B
C#

using System.ComponentModel.DataAnnotations;
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; }
}
}