btcpayserver/BTCPayServer/Models/WalletViewModels/ListWalletsViewModel.cs
2021-12-31 16:59:02 +09:00

23 lines
735 B
C#

using System.Collections.Generic;
using BTCPayServer;
using NBitcoin;
namespace BTCPayServer.Models.WalletViewModels
{
public class ListWalletsViewModel
{
public class WalletViewModel
{
public string StoreName { get; set; }
public string StoreId { get; set; }
public string CryptoCode { get; set; }
public string Balance { get; set; }
public bool IsOwner { get; set; }
public WalletId Id { get; set; }
}
public Dictionary<BTCPayNetwork, IMoney> BalanceForCryptoCode { get; set; } = new Dictionary<BTCPayNetwork, IMoney>();
public List<WalletViewModel> Wallets { get; set; } = new List<WalletViewModel>();
}
}