btcpayserver/BTCPayServer/Models/StoreViewModels/GeneralSettingsViewModel.cs

26 lines
610 B
C#
Raw Normal View History

2017-09-13 23:50:36 +09:00
using System.ComponentModel.DataAnnotations;
2020-06-28 17:55:27 +09:00
using BTCPayServer.Validation;
2017-09-13 23:50:36 +09:00
namespace BTCPayServer.Models.StoreViewModels
{
public class GeneralSettingsViewModel
2017-09-13 23:50:36 +09:00
{
2020-10-23 17:15:07 +02:00
[Display(Name = "Store ID")]
public string Id { get; set; }
[Display(Name = "Store Name")]
[Required]
[MaxLength(50)]
[MinLength(1)]
public string StoreName { get; set; }
2017-09-13 23:50:36 +09:00
2018-05-14 09:32:04 +02:00
[Uri]
[Display(Name = "Store Website")]
[MaxLength(500)]
public string StoreWebsite { get; set; }
public bool CanDelete { get; set; }
}
2017-09-13 23:50:36 +09:00
}