Topup functions

This commit is contained in:
2023-07-04 14:11:53 +01:00
parent 013008dcf9
commit 00c918b1f6
17 changed files with 6519 additions and 12 deletions

View File

@ -2,9 +2,16 @@ namespace NostrStreamer.Database;
public class Payment
{
public string PaymentHash { get; init; } = null!;
public string PubKey { get; init; } = null!;
public User User { get; init; } = null!;
public string Invoice { get; init; } = null!;
public bool IsPaid { get; init; }
public bool IsPaid { get; set; }
public ulong Amount { get; init; }
public DateTime Created { get; init; } = DateTime.UtcNow;
}