using MediatR; namespace CMSMicroservice.Application.BlogPostCQ.Commands.CreateBlogPost; /// /// دستور ایجاد مقاله جدید /// public class CreateBlogPostCommand : IRequest { public string Title { get; set; } = string.Empty; public string Slug { get; set; } = string.Empty; public string? Summary { get; set; } public string HtmlContent { get; set; } = string.Empty; public string? FeaturedImagePath { get; set; } public string? FeaturedImageThumbnailPath { get; set; } public List CategoryIds { get; set; } = new(); public List TagIds { get; set; } = new(); public bool IsFeatured { get; set; } public int SortOrder { get; set; } // Image upload properties public byte[]? ImageFileBytes { get; set; } public string? ImageFileMime { get; set; } public string? ImageFileName { get; set; } }