mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
* Store selector * Footer * Notifications * Checkout Appearance * Users list * Forms * Emails * Pay Button * Edit Dictionary * Remove newlines, fix typos * Forms * Pull payments and payouts * Various pages * Use local docs link * Fix * Even more translations * Fixes #6325 * Account pages * Notifications * Placeholders * Various pages and components * Add more
26 lines
682 B
C#
26 lines
682 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.AspNetCore.Mvc.Rendering;
|
|
|
|
namespace BTCPayServer.Models.StoreViewModels
|
|
{
|
|
public class CreateStoreViewModel
|
|
{
|
|
public bool IsFirstStore { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(50)]
|
|
[MinLength(1)]
|
|
[Display(Name = "Name")]
|
|
public string Name { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(10)]
|
|
[Display(Name = "Default currency")]
|
|
public string DefaultCurrency { get; set; }
|
|
|
|
[Display(Name = "Preferred Price Source")]
|
|
public string PreferredExchange { get; set; }
|
|
|
|
public SelectList Exchanges { get; set; }
|
|
}
|
|
}
|