2017-09-13 15:47:34 +09:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-06-26 10:39:22 +02:00
|
|
|
using Microsoft.AspNetCore.Http;
|
2017-09-13 15:47:34 +09:00
|
|
|
|
|
|
|
namespace BTCPayServer.Models.ManageViewModels
|
|
|
|
{
|
|
|
|
public class IndexViewModel
|
|
|
|
{
|
2017-10-27 17:53:04 +09:00
|
|
|
[Required]
|
|
|
|
[EmailAddress]
|
|
|
|
[MaxLength(50)]
|
2024-06-26 10:39:22 +02:00
|
|
|
public string Email { get; set; }
|
|
|
|
public bool EmailConfirmed { get; set; }
|
|
|
|
public bool RequiresEmailConfirmation { get; set; }
|
|
|
|
public string Name { get; set; }
|
2017-09-13 15:47:34 +09:00
|
|
|
|
2024-06-26 10:39:22 +02:00
|
|
|
[Display(Name = "Profile Picture")]
|
|
|
|
public IFormFile ImageFile { get; set; }
|
|
|
|
public string ImageUrl { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
}
|