using CMSMicroservice.Application.Common.Models;

namespace CMSMicroservice.Application.ProductsCQ.Queries.GetProductsByCategory;

public class GetProductsByCategoryResponseDto
{
    public MetaData MetaData { get; set; } = new();
    public List<ProductListDto> Products { get; set; } = new();
}

public class ProductListDto
{
    public long Id { get; set; }
    public string Name { get; set; } = string.Empty;
    public string Description { get; set; } = string.Empty;
    public long Price { get; set; }
    public int Stock { get; set; }
    public bool IsActive { get; set; }
    public string? ImageUrl { get; set; }
    public DateTime Created { get; set; }
}
