using LittleShop.Enums; namespace LittleShop.DTOs; public class CryptoPaymentDto { public Guid Id { get; set; } public Guid OrderId { get; set; } public CryptoCurrency Currency { get; set; } public string WalletAddress { get; set; } = string.Empty; public decimal RequiredAmount { get; set; } public decimal PaidAmount { get; set; } public PaymentStatus Status { get; set; } public string? BTCPayInvoiceId { get; set; } public string? SilverPayOrderId { get; set; } public string? TransactionHash { get; set; } public DateTime CreatedAt { get; set; } public DateTime? PaidAt { get; set; } public DateTime ExpiresAt { get; set; } } public class PaymentStatusDto { public Guid PaymentId { get; set; } public PaymentStatus Status { get; set; } public decimal RequiredAmount { get; set; } public decimal PaidAmount { get; set; } public DateTime? PaidAt { get; set; } public DateTime ExpiresAt { get; set; } public bool IsExpired => DateTime.UtcNow > ExpiresAt; }