2020-06-28 17:55:27 +09:00
|
|
|
|
using System;
|
2017-09-13 15:47:34 +09:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
2020-06-28 17:55:27 +09:00
|
|
|
|
using BTCPayServer.Validation;
|
2017-09-13 15:47:34 +09:00
|
|
|
|
|
|
|
|
|
namespace BTCPayServer.Models.ManageViewModels
|
|
|
|
|
{
|
|
|
|
|
public class IndexViewModel
|
|
|
|
|
{
|
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
|
|
|
|
|
|
2017-10-27 17:53:04 +09:00
|
|
|
|
[Required]
|
|
|
|
|
[EmailAddress]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
public string Email
|
|
|
|
|
{
|
|
|
|
|
get; set;
|
|
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
|
|
2017-10-27 17:53:04 +09:00
|
|
|
|
public bool IsEmailConfirmed { get; set; }
|
2017-09-13 15:47:34 +09:00
|
|
|
|
|
2017-10-27 17:53:04 +09:00
|
|
|
|
[Phone]
|
2017-09-13 15:47:34 +09:00
|
|
|
|
[Display(Name = "Phone number")]
|
2017-10-27 17:53:04 +09:00
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
public string PhoneNumber { get; set; }
|
2017-09-13 15:47:34 +09:00
|
|
|
|
|
2017-10-27 17:53:04 +09:00
|
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
|
}
|