btcpayserver/BTCPayServer/Models/StoreViewModels/PairingModel.cs

44 lines
788 B
C#
Raw Normal View History

2017-09-13 23:50:36 +09:00
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.StoreViewModels
{
public class PairingModel
{
public class StoreViewModel
{
public string Name
{
get; set;
}
public string Id
{
get; set;
}
}
public string Id
{
get; set;
}
public string Label
{
get; set;
}
public string SIN
{
get; set;
}
public StoreViewModel[] Stores
{
get;
set;
}
2017-09-13 23:50:36 +09:00
[Display(Name = "Pair to")]
[Required]
2019-10-12 20:35:30 +09:00
public string StoreId
{
get; set;
}
}
2017-09-13 23:50:36 +09:00
}