using FruitBank.Common.Dtos;
using FruitBank.Common.Entities;
using FruitBank.Common.Enums;
using Mango.Nop.Core.Dtos;
using Mango.Nop.Core.Interfaces;
using Mango.Nop.Core.Interfaces.ForeignKeys;
//using Nop.Core.Domain.Catalog;

namespace FruitBank.Common.Interfaces;

public interface IOrderItemDto : IMgOrderItemDto<ProductDto>, IMeasuringValues, IMeasured, IMeasurable, IMeasurableStatus, IGenericAttributeForeignCollection<List<GenericAttributeDto>>
{
    OrderDto OrderDto { get; set; }
    List<OrderItemPallet> OrderItemPallets { get; set; }

    bool IsOtherMeasuringInProgress(int? customerId);
    void InitializeOrderItemPallets(List<OrderItemPallet> orderItemPallets);
}