namespace CMSMicroservice.Application.PublicMessageCQ.Commands.PublishMessage;

/// <summary>
/// انتشار پیام عمومی (فعال‌سازی)
/// </summary>
public record PublishMessageCommand : IRequest<PublishMessageResponseDto>
{
    public long MessageId { get; init; }
}

public class PublishMessageResponseDto
{
    public bool Success { get; set; }
    public string Message { get; set; } = string.Empty;
    public DateTime? PublishedAt { get; set; }
}
