feat: updated product status property name

This commit is contained in:
Efrain Marin 2025-08-05 18:06:29 -06:00
parent e81551e5d1
commit f8fbcfe26d

View File

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