Initial commit of LittleShop project (excluding large archives)

- BTCPay Server integration
- TeleBot Telegram bot
- Review system
- Admin area
- Docker deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-17 15:07:38 +01:00
parent bcca00ab39
commit e1b377a042
140 changed files with 32166 additions and 21089 deletions

View File

@@ -1,30 +1,30 @@
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? 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;
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? 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;
}