btcpayserver/BTCPayServer/Components/StoreRecentTransactions/StoreRecentTransactionViewModel.cs
Andrew Camilleri eece001376
Add labels for recent txs dashboard widget (#4831)
* Add labels for recent txs dashboard widget

It is not with the rich data for now, but a good start.

* Turn labels into links

* Add rich info to dashboard labels

* Use truncate-center component for recent transactions

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2023-03-30 19:54:11 +02:00

17 lines
551 B
C#

using System;
using System.Collections.Generic;
using BTCPayServer.Models.WalletViewModels;
namespace BTCPayServer.Components.StoreRecentTransactions;
public class StoreRecentTransactionViewModel
{
public string Id { get; set; }
public string Currency { get; set; }
public string Balance { get; set; }
public bool Positive { get; set; }
public bool IsConfirmed { get; set; }
public string Link { get; set; }
public DateTimeOffset Timestamp { get; set; }
public IEnumerable<TransactionTagModel> Labels { get; set; }
}