using CMSMicroservice.Application.Common.Models; using CMSMicroservice.Domain.Enums; using MediatR; namespace CMSMicroservice.Application.BlogPostCQ.Queries.GetAllBlogPosts; public class GetAllBlogPostsQuery : IRequest { public int PageNumber { get; set; } = 1; public int PageSize { get; set; } = 10; public string? SortBy { get; set; } public string? SearchTerm { get; set; } public BlogPostStatus? Status { get; set; } public long? CategoryId { get; set; } public bool? IsFeatured { get; set; } }