Files
btcpayserver/BTCPayServer/Views/Wallets/ListViewModel.cs
nicolas.dorier b0cb92696a atomic swap
2018-10-10 01:05:24 +09:00

25 lines
745 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Views.Wallets
{
public class ListViewModel
{
public class SwapItem
{
public string OfferId { get; set; }
public string WalletId { get; set; }
public DateTimeOffset Timestamp { get; set; }
public string Partner { get; set; }
public string Sent { get; set; }
public string Received { get; set; }
public string Status { get; set; }
public string Role { get; set; }
}
public string CryptoCode { get; set; }
public List<SwapItem> Swaps { get; set; } = new List<SwapItem>();
}
}