using CMSMicroservice.Domain.Enums;

namespace CMSMicroservice.Application.StockMovementCQ.Queries.GetStockMovements;

/// <summary>
/// Query برای جستجوی حرکات موجودی
/// </summary>
public record GetStockMovementsQuery : IRequest<GetStockMovementsResponseDto>
{
    public long? InventoryItemId { get; init; }
    public long? ProductId { get; init; }
    public ProductType? ProductType { get; init; }
    public StockMovementType? MovementType { get; init; }
    public DateTime? StartDate { get; init; }
    public DateTime? EndDate { get; init; }
    public int Skip { get; init; } = 0;
    public int Take { get; init; } = 50;
}
