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