Add Icon property to FurnitureBase and FurnitureVariant

This commit is contained in:
Oscar Morales
2025-09-03 14:52:32 -06:00
parent 88d3d46cd7
commit 7c9fecb909
3 changed files with 17 additions and 1 deletions

View File

@@ -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>

View File

@@ -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!;
}
}