btcpayserver/BTCPayServer/Models/AppViewModels/UpdatePointOfSaleViewModel.cs

25 lines
621 B
C#
Raw Normal View History

2018-04-03 11:50:41 +09:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Models.AppViewModels
{
public class UpdatePointOfSaleViewModel
{
[Required]
[MaxLength(30)]
public string Title { get; set; }
[Required]
[MaxLength(5)]
public string Currency { get; set; }
[Required]
[MaxLength(5000)]
public string Template { get; set; }
2018-04-26 22:09:18 +09:00
[Display(Name = "User can input custom amount")]
public bool ShowCustomAmount { get; set; }
2018-04-03 11:50:41 +09:00
}
}