namespace LittleShop.Client.Models;

public class CryptoPayment
{
    public Guid Id { get; set; }
    public Guid OrderId { get; set; }
    public int Currency { get; set; }
    public string WalletAddress { get; set; } = string.Empty;
    public decimal RequiredAmount { get; set; }
    public decimal? PaidAmount { get; set; }
    public int Status { get; set; }
    public string? TransactionHash { get; set; }
    public string? BTCPayInvoiceId { get; set; }
    public string? BTCPayCheckoutUrl { get; set; }
    public DateTime CreatedAt { get; set; }
    public DateTime? PaidAt { get; set; }
    public DateTime ExpiresAt { get; set; }
}

public class CreatePaymentRequest
{
    public int Currency { get; set; } = 0; // BTC = 0
}