mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-11 01:35:22 +01:00
* Newlines * Dashboard * Add more translations * Moar * Remove from translated texts * Dictionary controller translations * Batch 1 of controller updates * Batch 2 of controller updates * Component translations * Batch 3 of controller updates * Fixes
22 lines
638 B
C#
22 lines
638 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
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; }
|
|
|
|
[Display(Name = "Profile Picture")]
|
|
public IFormFile ImageFile { get; set; }
|
|
public string ImageUrl { get; set; }
|
|
}
|
|
}
|