btcpayserver/BTCPayServer/Models/WalletViewModels/ListTransactionsViewModel.cs

25 lines
947 B
C#
Raw Normal View History

2020-06-28 21:44:35 -05:00
using System;
using System.Collections.Generic;
namespace BTCPayServer.Models.WalletViewModels
{
public class ListTransactionsViewModel : BasePagingViewModel
{
public class TransactionViewModel
{
public DateTimeOffset Timestamp { get; set; }
public bool IsConfirmed { get; set; }
public string Comment { get; set; }
public string Id { get; set; }
public string Link { get; set; }
public bool Positive { get; set; }
public string Balance { get; set; }
2023-04-10 11:07:03 +09:00
public HashSet<TransactionTagModel> Tags { get; set; } = new();
}
2023-04-10 11:07:03 +09:00
public HashSet<(string Text, string Color, string TextColor)> Labels { get; set; } = new();
public List<TransactionViewModel> Transactions { get; set; } = new();
public override int CurrentPageCount => Transactions.Count;
public string CryptoCode { get; set; }
}
}