Restructure store and payment settings (#2995)

Co-authored-by: Kukks <evilkukka@gmail.com>
This commit is contained in:
d11n
2021-10-29 08:25:43 +02:00
committed by GitHub
parent eee8008bb2
commit 2d4aa52fa5
47 changed files with 953 additions and 835 deletions

View File

@@ -0,0 +1,25 @@
using System.ComponentModel.DataAnnotations;
using BTCPayServer.Validation;
namespace BTCPayServer.Models.StoreViewModels
{
public class GeneralSettingsViewModel
{
[Display(Name = "Store ID")]
public string Id { get; set; }
[Display(Name = "Store Name")]
[Required]
[MaxLength(50)]
[MinLength(1)]
public string StoreName { get; set; }
[Uri]
[Display(Name = "Store Website")]
[MaxLength(500)]
public string StoreWebsite { get; set; }
public bool CanDelete { get; set; }
}
}