2018-07-27 00:08:07 +09:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-08-03 00:42:30 +09:00
|
|
|
|
using BTCPayServer.Data;
|
|
|
|
|
using BTCPayServer.Services;
|
2018-07-27 00:08:07 +09:00
|
|
|
|
|
|
|
|
|
namespace BTCPayServer.Models.WalletViewModels
|
|
|
|
|
{
|
|
|
|
|
public class ListTransactionsViewModel
|
|
|
|
|
{
|
|
|
|
|
public class TransactionViewModel
|
|
|
|
|
{
|
|
|
|
|
public DateTimeOffset Timestamp { get; set; }
|
2018-11-05 17:26:49 +09:00
|
|
|
|
public bool IsConfirmed { get; set; }
|
2019-08-03 00:42:30 +09:00
|
|
|
|
public string Comment { get; set; }
|
2018-07-27 00:08:07 +09:00
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public string Link { get; set; }
|
|
|
|
|
public bool Positive { get; set; }
|
|
|
|
|
public string Balance { get; set; }
|
2019-08-03 00:42:30 +09:00
|
|
|
|
public HashSet<Label> Labels { get; set; } = new HashSet<Label>();
|
2018-07-27 00:08:07 +09:00
|
|
|
|
}
|
2019-08-03 00:42:30 +09:00
|
|
|
|
public HashSet<Label> Labels { get; set; } = new HashSet<Label>();
|
2018-07-27 00:08:07 +09:00
|
|
|
|
public List<TransactionViewModel> Transactions { get; set; } = new List<TransactionViewModel>();
|
|
|
|
|
}
|
|
|
|
|
}
|