mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
37 lines
718 B
C#
37 lines
718 B
C#
using BTCPayServer.Validations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Models.ManageViewModels
|
|
{
|
|
public class IndexViewModel
|
|
{
|
|
public string Username { get; set; }
|
|
|
|
|
|
[Required]
|
|
[EmailAddress]
|
|
[MaxLength(50)]
|
|
public string Email
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public bool IsEmailConfirmed { get; set; }
|
|
|
|
[Phone]
|
|
[Display(Name = "Phone number")]
|
|
[MaxLength(50)]
|
|
public string PhoneNumber { get; set; }
|
|
|
|
public string StatusMessage
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
}
|
|
}
|