btcpayserver/BTCPayServer/Models/ManageViewModels/IndexViewModel.cs

23 lines
638 B
C#
Raw Normal View History

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