- Set up Tor container for SOCKS proxy (port 9050) - Configured Monero wallet with remote onion node - Bitcoin node continues syncing in background (60% complete) - Created documentation for wallet configuration steps - All external connections routed through Tor for privacy BTCPay requires manual wallet configuration through web interface: - Bitcoin: Need to add xpub/zpub for watch-only wallet - Monero: Need to add address and view key System ready for payment acceptance once wallets configured.
39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
namespace LittleShop.Client.Models;
|
|
|
|
public class Product
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string? Description { get; set; }
|
|
public decimal Price { get; set; }
|
|
public decimal Weight { get; set; }
|
|
public int WeightUnit { get; set; }
|
|
public Guid CategoryId { get; set; }
|
|
public string? CategoryName { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public List<ProductPhoto> Photos { get; set; } = new();
|
|
public List<ProductVariation> Variations { get; set; } = new();
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
}
|
|
|
|
public class ProductPhoto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Url { get; set; } = string.Empty;
|
|
public string? AltText { get; set; }
|
|
public int SortOrder { get; set; }
|
|
}
|
|
|
|
public class ProductVariation
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid ProductId { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string? Description { get; set; }
|
|
public int Quantity { get; set; }
|
|
public decimal Price { get; set; }
|
|
public decimal PricePerUnit { get; set; }
|
|
public int SortOrder { get; set; }
|
|
public bool IsActive { get; set; }
|
|
} |