using MediatR;

namespace CMSMicroservice.Application.SitePageCQ.Commands.UpdateSitePageSection;

public class UpdateSitePageSectionCommand : IRequest<Unit>
{
    public long Id { get; set; }
    public string SectionKey { get; set; } = default!;
    public string? Title { get; set; }
    public string? Subtitle { get; set; }
    public string? HtmlContent { get; set; }
    public string? IconName { get; set; }
    public string? ImagePath { get; set; }
    public int SortOrder { get; set; }
    public bool IsActive { get; set; }
    public string? ExtraData { get; set; }

    // Image upload properties
    public byte[]? ImageFileBytes { get; set; }
    public string? ImageFileMime { get; set; }
    public string? ImageFileName { get; set; }
}
