Topup functions
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user