Add Icon property to FurnitureBase and FurnitureVariant
This commit is contained in:
		| @@ -76,6 +76,14 @@ namespace Core.Inventory.Domain.Contexts.Inventory.Request | ||||
|         [BsonRepresentation(BsonType.String)] | ||||
|         [JsonPropertyName("variantIds")] | ||||
|         public List<string>? VariantIds { get; set; } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Gets or sets the icon of the FurnitureBase. | ||||
|         /// </summary> | ||||
|         [BsonElement("icon")] | ||||
|         [BsonRepresentation(BsonType.String)] | ||||
|         [JsonPropertyName("icon")] | ||||
|         public string Icon { get; set; } = null!; | ||||
|     } | ||||
|  | ||||
|     /// <summary> | ||||
|   | ||||
| @@ -49,5 +49,13 @@ namespace Core.Inventory.Domain.Contexts.Inventory.Request | ||||
|         [BsonRepresentation(BsonType.String)] | ||||
|         [JsonPropertyName("line")] | ||||
|         public string? Line { get; set; } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Gets or sets the icon of the FurnitureVariant. | ||||
|         /// </summary> | ||||
|         [BsonElement("icon")] | ||||
|         [BsonRepresentation(BsonType.String)] | ||||
|         [JsonPropertyName("icon")] | ||||
|         public string Icon { get; set; } = null!; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Oscar Morales
					Oscar Morales