2020-06-28 21:44:35 -05:00
|
|
|
using System;
|
2018-07-27 00:08:07 +09:00
|
|
|
using System.Collections.Generic;
|
2020-04-28 09:53:34 +02:00
|
|
|
using BTCPayServer.Services.Labels;
|
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>();
|
2020-07-24 21:33:02 -07:00
|
|
|
public int Skip { get; set; }
|
|
|
|
public int Count { get; set; }
|
|
|
|
public int Total { get; set; }
|
2018-07-27 00:08:07 +09:00
|
|
|
}
|
|
|
|
}
|