using AyCode.Interfaces.Entities; using Nop.Core.Domain.Orders; namespace Mango.Nop.Core.Interfaces; public interface IMgOrderItemDto : IEntityInt where TProductDto : IMgProductDto { public Guid OrderItemGuid { get; set; } public int OrderId { get; set; } public int ProductId { get; set; } public int Quantity { get; set; } public string AttributesXml { get; set; } public decimal? ItemWeight { get; set; } public string ProductName { get; } public TProductDto? ProductDto { get; set; } void InitializeProductDto(TProductDto productDto); void CopyEntityValuesToDto(OrderItem entity, TProductDto productDto); }