using System.ComponentModel.DataAnnotations; namespace BTCPayServer.Models.StoreViewModels { public class CreateStoreViewModel { [Required] [MaxLength(50)] [MinLength(1)] public string Name { get; set; } } }