mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
25 lines
610 B
C#
25 lines
610 B
C#
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; }
|
|
}
|
|
}
|