mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
42 lines
801 B
C#
42 lines
801 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Data
|
|
{
|
|
public class HistoricalAddressInvoiceData
|
|
{
|
|
public string InvoiceDataId
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string Address
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
|
|
[Obsolete("Use GetCryptoCode instead")]
|
|
public string CryptoCode { get; set; }
|
|
|
|
#pragma warning disable CS0618
|
|
public string GetCryptoCode()
|
|
{
|
|
return string.IsNullOrEmpty(CryptoCode) ? "BTC" : CryptoCode;
|
|
}
|
|
#pragma warning restore CS0618
|
|
|
|
public DateTimeOffset Assigned
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public DateTimeOffset? UnAssigned
|
|
{
|
|
get; set;
|
|
}
|
|
}
|
|
}
|