Final fixes for demo

This commit is contained in:
2025-06-27 23:11:01 -06:00
parent 0038169f5a
commit 542df8a203
12 changed files with 82 additions and 25 deletions

View File

@@ -0,0 +1,19 @@
using Core.Adapters.Lib;
namespace Core.Inventory.External.Clients.Adapters
{
public class FurnitureBaseAdapter
{
public string _Id { get; set; } = null!;
public string Id { get; init; } = null!;
public string ModelName { get; set; } = null!;
public string Material { get; set; } = null!;
public string Condition { get; set; } = null!;
public string? BaseDescription { get; set; }
public string? Representation { get; set; }
public string? MaintenanceNotes { get; set; }
public Dimensions Dimensions { get; set; } = new();
public List<string>? VariantIds { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
namespace Core.Inventory.External.Clients.Adapters
{
public class FurnitureVariantAdapter
{
public string _Id { get; set; } = null!;
public string Id { get; init; } = null!;
public string ModelId { get; set; } = null!;
public string Name { get; set; } = null!;
public string Color { get; set; } = null!;
public string? Line { get; set; }
public decimal Price { get; set; }
public string Currency { get; set; } = "USD";
public int Stock { get; set; }
public string CategoryId { get; set; } = string.Empty!;
public string ProviderId { get; set; } = string.Empty!;
public Dictionary<string, string> Attributes { get; set; } = [];
}
}