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

namespace CMSMicroservice.Application.ProductsCQ.Queries.GetProductsByTag;

/// <summary>
/// کوئری دریافت محصولات بر اساس تگ
/// </summary>
public class GetProductsByTagQuery : IRequest<GetProductsByTagResponseDto>
{
    public long TagId { 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;
}
