Final fixes for demo
This commit is contained in:
		| @@ -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; } | ||||
|     } | ||||
| } | ||||
| @@ -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; } = []; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user