using CMSMicroservice.Domain.Enums;

namespace CMSMicroservice.Application.InventoryItemCQ.Queries.GetLowStockItems;

public class GetLowStockItemsResponseDto
{
    public List<LowStockItemDto> Items { get; set; } = new();
    public int TotalCount { get; set; }
}

public class LowStockItemDto
{
    public long Id { get; set; }
    public long? ProductId { get; set; }
    public long? DiscountProductId { get; set; }
    public ProductType ProductType { get; set; }
    public long WarehouseId { get; set; }
    public string? WarehouseName { get; set; }
    public string? ProductTitle { get; set; }
    public int Quantity { get; set; }
    public int ReservedQuantity { get; set; }
    public int AvailableQuantity { get; set; }
    public int LowStockThreshold { get; set; }
}
