Wonky.Client/Wonky.Entity/Views/ExternalProductListView.cs
2023-05-17 13:59:39 +02:00

22 lines
No EOL
763 B
C#

namespace Wonky.Entity.Views;
public class ExternalProductListView
{
public string ProductId { get; set; } = "";
public string TradingName { get; set; } = "";
public string PictureLink { get; set; } = "";
public string ProductCategoryEnum { get; set; } = "";
public List<ExternalProductVariantView> Variants { get; set; } = new();
}
public class ExternalProductVariantView
{
public string VariantId { get; set; } = "";
public string Name { get; set; } = "";
public string Sku { get; set; } = "";
public string ErpName { get; set; } = "";
public string ErpSku { get; set; } = "";
public string ShortName { get; set; } = "";
public string PictureLink { get; set; } = "";
public bool Selected { get; set; }
}