using CMSMicroservice.Application.Common.Models;
using MediatR;

namespace CMSMicroservice.Application.ProductsCQ.Queries.GetProductsByCategory;

/// <summary>
/// کوئری دریافت محصولات بر اساس دسته‌بندی
/// </summary>
public class GetProductsByCategoryQuery : IRequest<GetProductsByCategoryResponseDto>
{
    public long CategoryId { get; set; }
    public int PageNumber { get; set; } = 1;
    public int PageSize { get; set; } = 20;
    public bool OnlyActive { get; set; } = true;
    public bool OnlyInStock { get; set; } = false;
}
