Decouple User from Store

This commit is contained in:
NicolasDorier
2017-09-13 23:50:36 +09:00
parent 79200412fd
commit 467ecd0923
40 changed files with 919 additions and 336 deletions

View File

@@ -12,42 +12,26 @@ namespace BTCPayServer.Models.ManageViewModels
{
public string Username { get; set; }
public bool IsEmailConfirmed { get; set; }
[Required]
[EmailAddress]
[Required]
[EmailAddress]
[MaxLength(50)]
public string Email { get; set; }
[ExtPubKeyValidator]
public string ExtPubKey { get; set; }
[Display(Name = "Store Name")]
[MaxLength(50)]
public string StoreName
public string Email
{
get; set;
}
[Display(Name = "Consider the invoice confirmed when the payment transaction...")]
public SpeedPolicy SpeedPolicy
{
get; set;
}
public bool IsEmailConfirmed { get; set; }
[Phone]
[Display(Name = "Phone number")]
[MaxLength(50)]
public string PhoneNumber { get; set; }
public string StatusMessage { get; set; }
[Url]
[Display(Name = "Store Website")]
public string StoreWebsite
public string StatusMessage
{
get;
set;
get; set;
}
}
}