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)] |         [BsonRepresentation(BsonType.String)] | ||||||
|         [JsonPropertyName("variantIds")] |         [JsonPropertyName("variantIds")] | ||||||
|         public List<string>? VariantIds { get; set; } |         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> |     /// <summary> | ||||||
|   | |||||||
| @@ -49,5 +49,13 @@ namespace Core.Inventory.Domain.Contexts.Inventory.Request | |||||||
|         [BsonRepresentation(BsonType.String)] |         [BsonRepresentation(BsonType.String)] | ||||||
|         [JsonPropertyName("line")] |         [JsonPropertyName("line")] | ||||||
|         public string? Line { get; set; } |         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!; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ | |||||||
|   </PropertyGroup> |   </PropertyGroup> | ||||||
|  |  | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <PackageReference Include="Core.Adapters.Lib" Version="1.0.0" /> |     <PackageReference Include="Core.Adapters.Lib" Version="1.0.1" /> | ||||||
|     <PackageReference Include="Core.Blueprint.Mongo" Version="1.0.0" /> |     <PackageReference Include="Core.Blueprint.Mongo" Version="1.0.0" /> | ||||||
|     <PackageReference Include="Core.Blueprint.Redis" Version="1.0.0" /> |     <PackageReference Include="Core.Blueprint.Redis" Version="1.0.0" /> | ||||||
|     <PackageReference Include="Mapster" Version="7.4.0" /> |     <PackageReference Include="Mapster" Version="7.4.0" /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Oscar Morales
					Oscar Morales