Major changes:
• Remove BTCPay Server integration in favor of SilverPAY manual verification
• Add test data cleanup mechanisms (API endpoints and shell scripts)
• Fix compilation errors in TestController (IdentityReference vs CustomerIdentity)
• Add deployment automation scripts for Hostinger VPS
• Enhance integration testing with comprehensive E2E validation
• Add Blazor components and mobile-responsive CSS for admin interface
• Create production environment configuration scripts
Key Features Added:
• Manual payment verification through Admin panel Order Details
• Bulk test data cleanup with proper cascade handling
• Deployment automation with systemd service configuration
• Comprehensive E2E testing suite with SilverPAY integration validation
• Mobile-first admin interface improvements
Security & Production:
• Environment variable configuration for production secrets
• Proper JWT and VAPID key management
• SilverPAY API integration with live credentials
• Database cleanup and maintenance tools
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
991 B
C#
32 lines
991 B
C#
using System;
|
|
|
|
namespace LittleShop.DTOs
|
|
{
|
|
public class ProductVariationDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid ProductId { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public int Quantity { get; set; }
|
|
public decimal Price { get; set; }
|
|
public decimal PricePerUnit { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
}
|
|
|
|
public class CreateProductVariationDto
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public int Quantity { get; set; }
|
|
public decimal Price { get; set; }
|
|
}
|
|
|
|
public class UpdateProductVariationDto
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public int Quantity { get; set; }
|
|
public decimal Price { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
} |