Model validation attributes added for email and url

This commit is contained in:
rockstardev
2018-08-17 13:26:33 +02:00
parent 0084d4766b
commit cb4562aad5

View File

@@ -14,8 +14,11 @@ namespace BTCPayServer.Models.AppViewModels
public string CheckoutDesc { get; set; }
public string OrderId { get; set; }
public int ButtonSize { get; set; }
[Url]
public string ServerIpn { get; set; }
[Url]
public string BrowserRedirect { get; set; }
[EmailAddress]
public string NotifyEmail { get; set; }
//