using MediatR;

namespace CMSMicroservice.Application.DiscountShopCQ.Queries.GetDiscountProductImages;

public class GetDiscountProductImagesQuery : IRequest<List<DiscountProductImageDto>>
{
    public long DiscountProductId { get; set; }
    public bool OnlyActive { get; set; } = true;
}

public class DiscountProductImageDto
{
    public long Id { get; set; }
    public long DiscountProductId { get; set; }
    public string ImagePath { get; set; } = string.Empty;
    public string ThumbnailPath { get; set; } = string.Empty;
    public string? Title { get; set; }
    public string? AltText { get; set; }
    public int SortOrder { get; set; }
    public bool IsActive { get; set; }
}
