namespace Commerce.Contracts.DTOs; public class ProductVM { public Guid? Id { get; set; } public string[]? Photos { get; set; } public double? Price { get; set; } public double? Discount { get; set; } public DateTime? Created { get; set; } public string? CodeName { get; set; } public string? CategoryName { get; set; } public bool IsBundle { get; set; } public ICollection? ChildProducts { get; set; } public Guid? CategoryId { get; set; } public Guid? ParentCategoryId { get; set; } public ICollection? ChildCategories { get; set; } public List? Translations { get; set; } = new(); } public class ProductTranslationVM { public string Language { get; set; } = string.Empty; public ProductInfoVM Info { get; set; } = new(); } public class ProductInfoVM { public string Name { get; set; } = string.Empty; public string Description { get; set; } = string.Empty; public List TechnicalDetails { get; set; } = new(); } public class TechnicalDetailVM { public string Key { get; set; } = string.Empty; public string Value { get; set; } = string.Empty; }