3 Commits

Author SHA1 Message Date
Oscar Morales
051ce0c89e Add Icon propertie in FurnitureBase and FurnitureVariant 2025-09-03 10:42:42 -06:00
d66a0241df feat: nuget 2025-09-02 13:57:12 -06:00
f8fbcfe26d feat: updated product status property name 2025-08-05 18:06:29 -06:00
4 changed files with 20 additions and 3 deletions

View File

@@ -38,6 +38,10 @@ namespace Core.Adapters.Lib
[BsonElement("variantIds")] [BsonElement("variantIds")]
[JsonPropertyName("variantIds")] [JsonPropertyName("variantIds")]
public List<string> VariantIds { get; set; } = new(); public List<string> VariantIds { get; set; } = new();
[BsonElement("icon")]
[JsonPropertyName("icon")]
public string Icon { get; set; } = null!;
} }
public class Dimensions public class Dimensions

View File

@@ -22,5 +22,9 @@ namespace Core.Adapters.Lib
[BsonElement("line")] [BsonElement("line")]
[JsonPropertyName("line")] [JsonPropertyName("line")]
public string Line { get; set; } = null!; public string Line { get; set; } = null!;
[BsonElement("icon")]
[JsonPropertyName("icon")]
public string Icon { get; set; } = null!;
} }
} }

View File

@@ -42,10 +42,10 @@ namespace Core.Adapters.Lib.Inventory
/// <summary> /// <summary>
/// Gets or sets the status of the product. Stored as a string in MongoDB. /// Gets or sets the status of the product. Stored as a string in MongoDB.
/// </summary> /// </summary>
[BsonElement("status")] [BsonElement("productStatus")]
[JsonPropertyName("status")] [JsonPropertyName("productStatus")]
[BsonRepresentation(BsonType.String)] [BsonRepresentation(BsonType.String)]
public ProductStatus Status { get; set; } public ProductStatus ProductStatus { get; set; }
/// <summary> /// <summary>
/// Gets or sets the list of Tag Ids associated with this product. /// Gets or sets the list of Tag Ids associated with this product.

9
nuget.config Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!-- Tu BaGet primero -->
<add key="BaGet" value="https://nuget.dream-views.com/v3/index.json" protocolVersion="3" />
<!-- NuGet oficial como fallback (si quieres) -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>