using MediatR;

namespace CMSMicroservice.Application.DiscountShopCQ.Commands.CreateDiscountProduct;

public class CreateDiscountProductCommand : IRequest<long>
{
    public string Title { get; set; }
    public string ShortInfomation { get; set; }
    public string FullInformation { get; set; }
    public long Price { get; set; }
    public int MaxDiscountPercent { get; set; }
    public string ImagePath { get; set; }
    public string ThumbnailPath { get; set; }
    public int SortOrder { get; set; }
    public bool IsActive { get; set; } = true;
    public List<long> CategoryIds { get; set; } = new();

    // Image file upload
    public byte[]? ImageFileBytes { get; set; }
    public string? ImageFileMime { get; set; }
    public string? ImageFileName { get; set; }
    public byte[]? ThumbnailFileBytes { get; set; }
    public string? ThumbnailFileMime { get; set; }
    public string? ThumbnailFileName { get; set; }
}
