Final fixes for demo

This commit is contained in:
2025-06-27 23:10:38 -06:00
parent 9effaf3b22
commit e191851982
4 changed files with 10 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ namespace Core.Inventory.Domain.Contexts.Inventory.Request
[BsonElement("categoryId")]
[BsonRepresentation(BsonType.String)]
[JsonPropertyName("categoryId")]
public Guid CategoryId { get; set; }
public string CategoryId { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the provider or vendor identifier of the item.
@@ -53,7 +53,7 @@ namespace Core.Inventory.Domain.Contexts.Inventory.Request
[BsonElement("providerId")]
[BsonRepresentation(BsonType.String)]
[JsonPropertyName("providerId")]
public Guid ProviderId { get; set; }
public string ProviderId { get; set; } = string.Empty;
/// <summary>
/// Gets or sets additional customizable attributes.
@@ -61,6 +61,6 @@ namespace Core.Inventory.Domain.Contexts.Inventory.Request
/// </summary>
[BsonElement("attributes")]
[JsonPropertyName("attributes")]
public Dictionary<string, object> Attributes { get; set; } = [];
public Dictionary<string, string> Attributes { get; set; } = [];
}
}