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
|
|
|
|
{
|
2020-12-12 07:21:37 +01:00
|
|
|
public class ListTransactionsViewModel : BasePagingViewModel
|
2018-07-27 00:08:07 +09:00
|
|
|
{
|
|
|
|
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; }
|
2020-12-12 14:10:47 +09:00
|
|
|
public HashSet<ColoredLabel> Labels { get; set; } = new HashSet<ColoredLabel>();
|
2018-07-27 00:08:07 +09:00
|
|
|
}
|
2020-12-12 14:10:47 +09:00
|
|
|
public HashSet<ColoredLabel> Labels { get; set; } = new HashSet<ColoredLabel>();
|
2018-07-27 00:08:07 +09:00
|
|
|
public List<TransactionViewModel> Transactions { get; set; } = new List<TransactionViewModel>();
|
2021-04-08 15:32:42 +02:00
|
|
|
public string CryptoCode { get; set; }
|
2018-07-27 00:08:07 +09:00
|
|
|
}
|
|
|
|
}
|