namespace CMSMicroservice.Application.TagCQ.Queries.GetProductsByTag;

public record GetProductsByTagQuery : IRequest<List<ProductSimpleDto>>
{
    /// <summary>شناسه تگ</summary>
    public long TagId { get; init; }
}

public class ProductSimpleDto
{
    public long Id { get; set; }
    public string Title { get; set; }
    public long Price { get; set; }
    public int Inventory { get; set; }
    public bool IsActive { get; set; }
    public string? ImagePath { get; set; }
}
