Can attach labels and comment to transaction in the wallet

This commit is contained in:
nicolas.dorier
2019-08-03 00:42:30 +09:00
parent c8025ebaac
commit d79fda166f
13 changed files with 1434 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Data;
using BTCPayServer.Services;
namespace BTCPayServer.Models.WalletViewModels
{
@@ -11,11 +13,14 @@ namespace BTCPayServer.Models.WalletViewModels
{
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; }
public HashSet<Label> Labels { get; set; } = new HashSet<Label>();
}
public HashSet<Label> Labels { get; set; } = new HashSet<Label>();
public List<TransactionViewModel> Transactions { get; set; } = new List<TransactionViewModel>();
}
}