btcpayserver/BTCPayServer/Models/ManageViewModels/IndexViewModel.cs

27 lines
507 B
C#
Raw Normal View History

2017-09-13 15:47:34 +09:00
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;
}
2017-09-13 15:47:34 +09:00
public bool IsEmailConfirmed { get; set; }
2017-09-13 15:47:34 +09:00
[Phone]
2017-09-13 15:47:34 +09:00
[Display(Name = "Phone number")]
[MaxLength(50)]
public string PhoneNumber { get; set; }
2017-09-13 15:47:34 +09:00
}
2017-09-13 15:47:34 +09:00
}